diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-10 02:38:48 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-10 02:38:48 +0900 |
| commit | be5138207e7b88e77b171970fc2ff2f5bf89fbcf (patch) | |
| tree | 848ebc972c4dc32d7e2e51453c47b6e7322bf558 /src/server/api/service/github.ts | |
| parent | :v: (diff) | |
| download | sharkey-be5138207e7b88e77b171970fc2ff2f5bf89fbcf.tar.gz sharkey-be5138207e7b88e77b171970fc2ff2f5bf89fbcf.tar.bz2 sharkey-be5138207e7b88e77b171970fc2ff2f5bf89fbcf.zip | |
Fix bug
Diffstat (limited to 'src/server/api/service/github.ts')
| -rw-r--r-- | src/server/api/service/github.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/service/github.ts b/src/server/api/service/github.ts index 6b1d5d25be..bc8d3c6a7d 100644 --- a/src/server/api/service/github.ts +++ b/src/server/api/service/github.ts @@ -11,7 +11,7 @@ module.exports = async (app: express.Application) => { if (config.github_bot == null) return; const bot = await User.findOne({ - username_lower: config.github_bot.username.toLowerCase() + usernameLower: config.github_bot.username.toLowerCase() }); if (bot == null) { |