paperwork: Move mailing list api config attributes to "config"
This commit is contained in:
parent
068a5f1ccd
commit
2f72bb7d51
@ -56,10 +56,12 @@ class DepartmentViewSet(viewsets.ModelViewSet):
|
|||||||
}
|
}
|
||||||
|
|
||||||
lists[department.list_name] = {
|
lists[department.list_name] = {
|
||||||
|
"config": {
|
||||||
"real_name": department.list_name,
|
"real_name": department.list_name,
|
||||||
"moderator": moderator_emails,
|
"moderator": moderator_emails,
|
||||||
"subject_prefix": f"[CMS {department.name}] ",
|
"subject_prefix": f"[CMS {department.name}] ",
|
||||||
"reply_to_address": department.list_reply_to_address,
|
"reply_to_address": department.list_reply_to_address,
|
||||||
|
},
|
||||||
"members": active_certified_members,
|
"members": active_certified_members,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user