carddav: pass pointer in CreateAddressBook

The struct is a bit too large to pass by value.
This commit is contained in:
Simon Ser
2024-02-07 17:24:04 +01:00
parent f1d56f2437
commit fbcd08d64a
2 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ func (b *testBackend) GetAddressBook(ctx context.Context, path string) (*Address
return nil, webdav.NewHTTPError(404, fmt.Errorf("Not found"))
}
func (*testBackend) CreateAddressBook(ctx context.Context, ab AddressBook) error {
func (*testBackend) CreateAddressBook(ctx context.Context, ab *AddressBook) error {
panic("TODO: implement")
}