Skip to content

Commit

Permalink
feat: change limit
Browse files Browse the repository at this point in the history
  • Loading branch information
r3lays committed Dec 19, 2023
1 parent 43ae4db commit fa5042d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/reservoir/[...slug].ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const proxy = async (req: NextApiRequest, res: NextApiResponse) => {
res.redirect(url.href)
return
} else if (endpoint.match(/\/users\/(\w+)\/tokens\/v7/g)) {
if (url.searchParams.get('limit') === '198') {
if (url.searchParams.get('limit') === '195') {
res.status(403).json({ error: 'Access forbidden' })
}
}
Expand Down

1 comment on commit fa5042d

@vercel
Copy link

@vercel vercel bot commented on fa5042d Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.