mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-30 14:35:24 +02:00
This should probably be a PUT
This commit is contained in:
parent
929b34963d
commit
c5de6987c2
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ class GroupJoinableServlet(RestServlet):
|
||||||
self.groups_handler = hs.get_groups_local_handler()
|
self.groups_handler = hs.get_groups_local_handler()
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@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 = yield self.auth.get_user_by_req(request)
|
||||||
requester_user_id = requester.user.to_string()
|
requester_user_id = requester.user.to_string()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue