summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/groups.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-03-28 16:44:11 +0100
committerDavid Baker <dave@matrix.org>2018-03-28 16:44:11 +0100
commitc5de6987c210cce906cf279d85cbd98cd14bfc52 (patch)
tree828c648baa10445fce07ef87879001e6b4ed0a8e /synapse/rest/client/v2_alpha/groups.py
parentOK, smallint it is then (diff)
downloadsynapse-c5de6987c210cce906cf279d85cbd98cd14bfc52.tar.xz
This should probably be a PUT
Diffstat (limited to 'synapse/rest/client/v2_alpha/groups.py')
-rw-r--r--synapse/rest/client/v2_alpha/groups.py2
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()