core: use postinit status code

This commit is contained in:
2024-01-08 20:57:43 +01:00
parent 6f9903e309
commit 476ed0b833
12 changed files with 87 additions and 89 deletions

View File

@ -41,7 +41,7 @@ export default class extends AbstractAuthentifiedView
this.tournament = await client.tournaments.getTournament(this.id);
if (this.tournament === null)
return 1;
return 404;
this.tournament.join(this.receive.bind(this), this.ondisconnect.bind(this));