This commit is contained in:
syuilo 2018-04-10 02:38:48 +09:00
parent c258fd35e3
commit 8f982e942d

View File

@ -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) {