Commit ff23a96f authored by nanahira's avatar nanahira

fix

parent 652f755a
Pipeline #25492 passed with stages
in 6 minutes and 42 seconds
......@@ -51,6 +51,7 @@ export class AppService extends ConsoleLogger {
},
)
.where('duelLogPlayer.realName = :username', { username })
.andWhere('duelLogPlayer.score >= dealer.score') // -9 and 0 is not win
.select('COUNT(duelLogPlayer.id)', 'win')
.getRawOne<{ win: string }>(),
this.duelLogPlayerRepository.count({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment