summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/api/service/github.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/service/github.ts b/src/server/api/service/github.ts
index 6b1d5d25be..bc8d3c6a7d 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) {