From be5138207e7b88e77b171970fc2ff2f5bf89fbcf Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Apr 2018 02:38:48 +0900 Subject: [PATCH] Fix bug --- src/server/api/service/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/service/github.ts b/src/server/api/service/github.ts index 6b1d5d25b..bc8d3c6a7 100644 --- a/src/server/api/service/github.ts +++ b/src/server/api/service/github.ts @@ -11,7 +11,7 @@ module.exports = async (app: express.Application) => { if (config.github_bot == null) return; const bot = await User.findOne({ - username_lower: config.github_bot.username.toLowerCase() + usernameLower: config.github_bot.username.toLowerCase() }); if (bot == null) {