From a51f246667e7a884c611658afa4399a35d2b07ea Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 26 Aug 2023 20:16:04 -0400 Subject: [PATCH] paperwork: Slightly change structure of mailing lists api for Mailman3 --- paperwork/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperwork/api.py b/paperwork/api.py index 1e066a4..850fb9a 100644 --- a/paperwork/api.py +++ b/paperwork/api.py @@ -59,10 +59,10 @@ class DepartmentViewSet(viewsets.ModelViewSet): lists[department.list_name] = { "config": { "real_name": department.list_name, - "moderator": moderator_emails, "subject_prefix": f"[CMS {department.name}] ", "reply_to_address": department.list_reply_to_address, }, + "moderators": moderator_emails, "members": active_certified_members, }