mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-25 07:36:55 +09:00
Fix bug
This commit is contained in:
parent
47b6f5de92
commit
be5138207e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user