0
0
Fork 0

Update source in the 404 error

This commit is contained in:
Oliver-Akins 2020-12-27 13:28:54 -07:00
parent bd6ab5e02e
commit 1e1322a37f

View file

@ -10,7 +10,7 @@ export default (io: Server, socket: Socket, data: NewHand) => {
socket.emit(`Error`, { socket.emit(`Error`, {
status: 404, status: 404,
message: `Game with code ${data.game_code} could not be found`, message: `Game with code ${data.game_code} could not be found`,
source: `GetPastQuestions` source: `NewHand`
}); });
return; return;
}; };