From 0c7b60fef8c553780b3e588bde5cc03967c2bb60 Mon Sep 17 00:00:00 2001 From: Christopher Kelly Date: Fri, 7 Dec 2018 11:28:21 -0800 Subject: [PATCH] groups endpoint moved; see https://meta.discourse.org/t/group-api-empty-response/67892 --- pydiscourse/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydiscourse/client.py b/pydiscourse/client.py index ba0711c..700478d 100644 --- a/pydiscourse/client.py +++ b/pydiscourse/client.py @@ -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): """