diff options
author | David Baker <dave@matrix.org> | 2018-03-28 16:44:11 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-03-28 16:44:11 +0100 |
commit | c5de6987c210cce906cf279d85cbd98cd14bfc52 (patch) | |
tree | 828c648baa10445fce07ef87879001e6b4ed0a8e | |
parent | OK, smallint it is then (diff) | |
download | synapse-c5de6987c210cce906cf279d85cbd98cd14bfc52.tar.xz |
This should probably be a PUT
-rw-r--r-- | synapse/rest/client/v2_alpha/groups.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/groups.py b/synapse/rest/client/v2_alpha/groups.py index dc8247d172..aa94130e57 100644 --- a/synapse/rest/client/v2_alpha/groups.py +++ b/synapse/rest/client/v2_alpha/groups.py @@ -413,7 +413,7 @@ class GroupJoinableServlet(RestServlet): self.groups_handler = hs.get_groups_local_handler() @defer.inlineCallbacks - def on_POST(self, request, group_id): + def on_PUT(self, request, group_id): requester = yield self.auth.get_user_by_req(request) requester_user_id = requester.user.to_string() |