Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 2, 2023
1 parent 8df05dd commit 3a3f0b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/util/rate-limiter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const db = require('./redis')

module.exports = db
? new RateLimiter({
db,
namespace: 'rate',
duration: RATE_LIMIT_WINDOW,
max: RATE_LIMIT
})
db,
namespace: 'rate',
duration: RATE_LIMIT_WINDOW,
max: RATE_LIMIT
})
: undefined

0 comments on commit 3a3f0b3

Please sign in to comment.