mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-01 16:28:06 +09:00
Fix GitHub bot user query
This commit is contained in:
parent
5f8d803d5e
commit
b60d670dcd
@ -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