Skip to content

Commit

Permalink
fix(socket): variable name wasn't the same
Browse files Browse the repository at this point in the history
TODO add test on them web sockets
  • Loading branch information
t-h2o committed Dec 18, 2024
1 parent 6cd3a3a commit c7c17d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/matcha/websocket/socket_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def add_session(cls, sid, user_id):
@classmethod
def remove_session(cls, sid):
user_id = cls.sid_userid.pop(sid, None)
cls.userid_sid.pop(userid, None)
cls.userid_sid.pop(user_id, None)

@classmethod
def __str__(cls):
Expand Down

0 comments on commit c7c17d1

Please sign in to comment.