Update source in the 404 error
This commit is contained in:
parent
bd6ab5e02e
commit
1e1322a37f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue