mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 17:29:05 +01:00
Fix bug
This commit is contained in:
parent
c258fd35e3
commit
8f982e942d
@ -11,7 +11,7 @@ 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({
|
||||||
username_lower: config.github_bot.username.toLowerCase()
|
usernameLower: config.github_bot.username.toLowerCase()
|
||||||
});
|
});
|
||||||
|
|
||||||
if (bot == null) {
|
if (bot == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user