diff --git a/src/server/api/service/github.ts b/src/server/api/service/github.ts index 6eacdb747..a2359cfb6 100644 --- a/src/server/api/service/github.ts +++ b/src/server/api/service/github.ts @@ -9,7 +9,8 @@ module.exports = async (app: express.Application) => { if (config.github_bot == null) return; const bot = await User.findOne({ - usernameLower: config.github_bot.username.toLowerCase() + usernameLower: config.github_bot.username.toLowerCase(), + host: null }); if (bot == null) {