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