Commit 24c21c08 authored by nanahira's avatar nanahira

fix battle history leak

parent b19bc2dc
Pipeline #2473 passed with stages
in 37 seconds
......@@ -1434,6 +1434,10 @@ export class AppService {
query.orderBy('start_time', 'DESC');
return query;
});
for (const history of ret.data) {
history.decka = null;
history.deckb = null;
}
return ret;
}
async getUser(username: string) {
......
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