Update the source in the error response
This commit is contained in:
parent
19f02c60b2
commit
e33148169e
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export default (io: Server, socket: Socket, data: UpdatePlayer) => {
|
|||
socket.emit(`Error`, {
|
||||
status: 404,
|
||||
message: `Game with code ${data.game_code} could not be found`,
|
||||
source: `DeleteGame`
|
||||
source: `UpdatePlayer`
|
||||
});
|
||||
return;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue