diff --git a/packages/backend/src/core/ReversiService.ts b/packages/backend/src/core/ReversiService.ts index e863f5f5e3..7f939b99c7 100644 --- a/packages/backend/src/core/ReversiService.ts +++ b/packages/backend/src/core/ReversiService.ts @@ -295,9 +295,6 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit { isLlotheo: false, noIrregularRules: options.noIrregularRules, }, { relations: ['user1', 'user2'] }); - if (game.user1 === game.user2) { - throw new Error('broken match'); - } this.cacheGame(game); const packed = await this.reversiGameEntityService.packDetail(game); diff --git a/packages/backend/src/core/chart/core.ts b/packages/backend/src/core/chart/core.ts index ec50135e16..af5485a46e 100644 --- a/packages/backend/src/core/chart/core.ts +++ b/packages/backend/src/core/chart/core.ts @@ -400,8 +400,6 @@ export default abstract class Chart { this.logger.info(`${this.name + (group ? `:${group}` : '')}(${span}): New commit created`); - console.log(log); - return log; } finally { unlock(); @@ -431,7 +429,6 @@ export default abstract class Chart { // これを回避するための実装は複雑になりそうなため、一旦保留。 const update = async (logHour: RawRecord, logDay: RawRecord): Promise => { - console.log(logHour, logDay); const finalDiffs = {} as Record; for (const diff of this.buffer.filter(q => q.group == null || (q.group === logHour.group)).map(q => q.diff)) { diff --git a/packages/backend/src/models/_.ts b/packages/backend/src/models/_.ts index 0b8a40a23d..2e6a41586e 100644 --- a/packages/backend/src/models/_.ts +++ b/packages/backend/src/models/_.ts @@ -125,7 +125,6 @@ export const miRepository = { builder.setFindOptions(findOptions); } const raw = await builder.execute(); - console.log(columnNames, builder.getQueryAndParameters(), raw); mainAlias.name = name; const relationId = await new RelationIdLoader(builder.connection, this.queryRunner, builder.expressionMap.relationIdAttributes).load(raw); const relationCount = await new RelationCountLoader(builder.connection, this.queryRunner, builder.expressionMap.relationCountAttributes).load(raw);