1
0

Use FORBIDDEN

This commit is contained in:
Will Hunt
2020-08-18 18:33:33 +01:00
committed by GitHub
parent a281322648
commit ce49d19bf6

View File

@@ -43,7 +43,7 @@ class UserSharedRoomsServlet(RestServlet):
raise SynapseError(
code=400,
msg="'user_id' must not be the authenticated user",
errcode=Codes.BAD_JSON,
errcode=Codes.FORBIDDEN,
)
rooms = await self.store.get_rooms_in_common_for_users(