mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-25 15:46:39 +09:00
Merge pull request #1340 from akihikodaki/github
Fix GitHub bot user query
This commit is contained in:
commit
953c81971a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user