fix(backend): typo
This commit is contained in:
parent
b969821019
commit
9c78aacb87
|
@ -295,7 +295,7 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
|
||||||
isLlotheo: false,
|
isLlotheo: false,
|
||||||
noIrregularRules: options.noIrregularRules,
|
noIrregularRules: options.noIrregularRules,
|
||||||
}, { relations: ['user1', 'user2'] });
|
}, { relations: ['user1', 'user2'] });
|
||||||
if (game.user1 === gane.user2) {
|
if (game.user1 === game.user2) {
|
||||||
throw new Error('broken match');
|
throw new Error('broken match');
|
||||||
}
|
}
|
||||||
this.cacheGame(game);
|
this.cacheGame(game);
|
||||||
|
|
Loading…
Reference in New Issue