mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-01 03:41:59 +01:00
Fix GitHub bot user query
This commit is contained in:
parent
78f7464891
commit
f1140ad300
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ module.exports = async (app: express.Application) => {
|
||||||
if (config.github_bot == null) return;
|
if (config.github_bot == null) return;
|
||||||
|
|
||||||
const bot = await User.findOne({
|
const bot = await User.findOne({
|
||||||
usernameLower: config.github_bot.username.toLowerCase()
|
usernameLower: config.github_bot.username.toLowerCase(),
|
||||||
|
host: null
|
||||||
});
|
});
|
||||||
|
|
||||||
if (bot == null) {
|
if (bot == null) {
|
||||||
|
|
Loading…
Reference in a new issue