paperwork: Move mailing list api config attributes to "config"

This commit is contained in:
Adam Goldsmith 2023-01-22 11:21:46 -05:00
parent 068a5f1ccd
commit 2f72bb7d51

View File

@ -56,10 +56,12 @@ class DepartmentViewSet(viewsets.ModelViewSet):
} }
lists[department.list_name] = { lists[department.list_name] = {
"real_name": department.list_name, "config": {
"moderator": moderator_emails, "real_name": department.list_name,
"subject_prefix": f"[CMS {department.name}] ", "moderator": moderator_emails,
"reply_to_address": department.list_reply_to_address, "subject_prefix": f"[CMS {department.name}] ",
"reply_to_address": department.list_reply_to_address,
},
"members": active_certified_members, "members": active_certified_members,
} }