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