Add owner and moderator stubs

This commit is contained in:
Cassowary Rusnov 2024-02-27 11:43:38 -08:00
parent e99a496659
commit e91122f5ed
1 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,12 @@ def main(args):
return 1
# fixme pull out owner, moderator keys, we'll poke them in separately
if "owner" in p:
del p["owner"]
if "moderator" in p:
del p["moderator"]
# patch config
result = requests.patch(f"{REST_PATH}/{pargs.list}/config", auth=rest_auth, json=p)
if result.ok: