Add owner and moderator stubs
This commit is contained in:
parent
e99a496659
commit
e91122f5ed
@ -64,6 +64,12 @@ def main(args):
|
|||||||
return 1
|
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
|
# patch config
|
||||||
result = requests.patch(f"{REST_PATH}/{pargs.list}/config", auth=rest_auth, json=p)
|
result = requests.patch(f"{REST_PATH}/{pargs.list}/config", auth=rest_auth, json=p)
|
||||||
if result.ok:
|
if result.ok:
|
||||||
|
Loading…
Reference in New Issue
Block a user