fix: adjust the socker controller

This commit is contained in:
akhdanre 2025-05-13 02:55:34 +07:00
parent 76bbbf0824
commit 27fc8245da
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class SocketController:
@self.socketio.on("submit_answer")
def handle_submit_answer(data):
session_code = data.get("session_id") # frontend masih mengirim session_id
session_code = data.get("session_id")
user_id = data.get("user_id")
question_index = data.get("question_index")
user_answer = data.get("answer")