Fix linting

This commit is contained in:
Jackson Harper 2023-05-11 13:36:27 +08:00
parent 88aa7aad4c
commit 8d9f54c62c

View file

@ -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