Skip to content

Commit

Permalink
Missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc authored Dec 18, 2024
1 parent 8012a81 commit 587a496
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ async def put(self, root_roomid):
root_room = await self._websocket_server.get_room(root_roomid)
except RoomNotFound:
self.set_status(404)
self.finish({"code": 404, "error": "Room not found"})
return self.finish({"code": 404, "error": "Room not found"})

update = root_room.ydoc.get_update()
fork_ydoc = Doc()
Expand Down

0 comments on commit 587a496

Please sign in to comment.