Skip to content

Commit

Permalink
chore: update dev-portal url in response message (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
gowthamsundaresan authored Dec 17, 2024
1 parent f87ba2a commit ae8a2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/src/utils/authMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const authenticator = async (req: Request, res: Response, next: NextFunct
/*
if (accessLevel === 0) {
return res.status(401).json({
error: `Missing or invalid API token. Please generate a valid token on https://dev.eigenexplorer.com and attach it with header 'X-API-Token'.`
error: `Missing or invalid API token. Please generate a valid token on https://developer.eigenexplorer.com and attach it with header 'X-API-Token'.`
})
}
Expand Down Expand Up @@ -142,7 +142,7 @@ for (const [level, plan] of Object.entries(PLANS)) {
accessLevel === 0 ? req.ip ?? 'unknown' : req.header('X-API-Token') || '',
message: `You've reached the limit of ${plan.requestsPerMin} requests per minute. ${
accessLevel === 0
? 'Sign up for a plan on https://dev.eigenexplorer.com for increased limits.'
? 'Sign up for a plan on https://developer.eigenexplorer.com for increased limits.'
: 'Upgrade your plan for increased limits.'
}`
})
Expand Down

0 comments on commit ae8a2e1

Please sign in to comment.