This should probably be a PUT

This commit is contained in:
David Baker 2018-03-28 16:44:11 +01:00
parent 929b34963d
commit c5de6987c2

View File

@ -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()