aboutsummaryrefslogtreecommitdiff
path: root/plugins/carddav
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/carddav')
-rw-r--r--plugins/carddav/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/carddav/routes.go b/plugins/carddav/routes.go
index fe7c37d..6c8a85f 100644
--- a/plugins/carddav/routes.go
+++ b/plugins/carddav/routes.go
@@ -141,7 +141,7 @@ func registerRoutes(p *plugin) {
var ao *carddav.AddressObject
var card vcard.Card
if addressObjectPath != "" {
- ao, err := c.GetAddressObject(addressObjectPath)
+ ao, err = c.GetAddressObject(addressObjectPath)
if err != nil {
return fmt.Errorf("failed to query CardDAV address: %v", err)
}