Commit b19bc2dc authored by nanahira's avatar nanahira

Revert "fix battle history leak"

This reverts commit 8d53004d.
parent 8d53004d
......@@ -1416,25 +1416,6 @@ export class AppService {
const query = this.mcdb
.getRepository(BattleHistory)
.createQueryBuilder()
.select([
'usernamea',
'usernameb',
'userscorea',
'userscoreb',
'expa',
'expb',
'expa_ex',
'expb_ex',
'pta',
'ptb',
'pta_ex',
'ptb_ex',
'type',
'start_time',
'end_time',
'winner',
'isfirstwin',
])
.where('1 = 1');
if (username) {
query.andWhere(
......
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