fix(backend): typo

This commit is contained in:
Acid Chicken 2024-05-30 13:42:34 +09:00 committed by GitHub
parent b969821019
commit 9c78aacb87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);