UPDATE: fixed signup method and added input sanitisation

This commit is contained in:
white
2025-01-27 11:21:55 +00:00
parent e0d748ed06
commit 3dc44da69a
4 changed files with 60 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ def send_chat(data):
"""
# Take the message information from frontend
chatter_id = data.get("chatter_id") # Need to change this to get session info
chatter_id = session.get("username")
stream_id = data.get("stream_id")
message = data.get("message")