diff --git a/controllers/contacts.go b/controllers/contacts.go index 8e59beb..a7d104c 100644 --- a/controllers/contacts.go +++ b/controllers/contacts.go @@ -153,7 +153,7 @@ func ContactsExport(c *fiber.Ctx) error { } params.PageSize = 0 - params.PersonType = "members" + params.PersonType = "contacts" var sections []models.Section db.Order("name collate nocase asc").Find(§ions, "contains_members = ? AND id IN ?", true, allowedSections)