Commit 037349bd authored by velayat's avatar velayat
Browse files

lowercase search param

parent e65ebee7
......@@ -585,6 +585,7 @@ export class AppService implements OnApplicationBootstrap {
}
async getUserResult(username: string) {
username = username.toLowerCase()
const userRes = await this.resultModel.findOne({ username });
const userIndexs = await this.lotoryResultModel.find({ username });
......
Supports Markdown
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