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] = {
"config": {
"real_name": department.list_name,
"moderator": moderator_emails,
"subject_prefix": f"[CMS {department.name}] ",
"reply_to_address": department.list_reply_to_address,
},
"members": active_certified_members,
}