groups endpoint moved; see https://meta.discourse.org/t/group-api-empty-response/67892
This commit is contained in:
@@ -850,7 +850,7 @@ class DiscourseClient(object):
|
||||
]
|
||||
|
||||
"""
|
||||
return self._get("/admin/groups.json", **kwargs)
|
||||
return self._get("/groups/search.json", **kwargs)
|
||||
|
||||
def group(self, group_name):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user