Skip to content

Commit 8aab1a4

Browse files
committed
refactor: rename IP_RATE_LIMITED to TOO_MANY_REQUESTS
1 parent 1ca4712 commit 8aab1a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphql/server/src/middleware/graphile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const SAFE_ERROR_CODES = new Set([
4040
'CSRF_TOKEN_REQUIRED',
4141
'INVALID_CSRF_TOKEN',
4242
// Rate limiting / throttling
43-
'IP_RATE_LIMITED',
43+
'TOO_MANY_REQUESTS',
4444
'PASSWORD_RESET_LOCKED_EXCEED_ATTEMPTS',
4545
// TOTP
4646
'TOTP_NOT_ENABLED',

0 commit comments

Comments
 (0)