From 7585d5a29b271626350cf369dcdd9aad840bf7d1 Mon Sep 17 00:00:00 2001 From: pedromcunha Date: Thu, 9 Nov 2023 10:44:30 -0500 Subject: [PATCH] tweaks --- pages/api/reservoir/[...slug].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/reservoir/[...slug].ts b/pages/api/reservoir/[...slug].ts index 695a8aff0..823574c23 100644 --- a/pages/api/reservoir/[...slug].ts +++ b/pages/api/reservoir/[...slug].ts @@ -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') === '200') { + if (url.searchParams.get('limit') === '199') { res.status(403).json({ error: 'Access forbidden' }) } }