mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix linting
This commit is contained in:
parent
88aa7aad4c
commit
8d9f54c62c
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ export const createApp = (): {
|
|||
max: (req) => {
|
||||
// 50 RPM for an authenticated request, 5 for a non-authenticated request
|
||||
const token = getClaimsByToken(
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
req.header('authorization') ?? req.cookies['auth']
|
||||
)
|
||||
return !!token ? 50 : 5
|
||||
|
|
|
|||
Loading…
Reference in a new issue