0
0
Fork 0

Update the source in the error response

This commit is contained in:
Oliver-Akins 2020-12-27 15:08:32 -07:00
parent 19f02c60b2
commit e33148169e

View file

@ -10,7 +10,7 @@ export default (io: Server, socket: Socket, data: UpdatePlayer) => {
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: `DeleteGame` source: `UpdatePlayer`
}); });
return; return;
}; };