Skip to content
Snippets Groups Projects
Unverified Commit 953c8197 authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Merge pull request #1340 from akihikodaki/github

Fix GitHub bot user query
parents 75c4c844 f1140ad3
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment