Update ratelimits.js

nobody had issues with this?
merge-requests/208/head
Thomas Lynch 4 years ago committed by GitHub
parent db4600a793
commit a426c8542e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      db/ratelimits.js

@ -14,7 +14,7 @@ module.exports = {
incrmentQuota: (ip, suffix, amount) => {
return db.findOneAndUpdate(
{
'_id': `${ip}-suffix`
'_id': `${ip}-${suffix}`
},
{
'$inc': {

Loading…
Cancel
Save