From fbd918484d189e38604e3cba6f8a0bb509e1ef9c Mon Sep 17 00:00:00 2001 From: jj Date: Mon, 10 Feb 2025 15:37:43 +0000 Subject: [PATCH] api: remove unused variable --- api/src/core/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/core/api.js b/api/src/core/api.js index f7a04fb3f..84f814e44 100644 --- a/api/src/core/api.js +++ b/api/src/core/api.js @@ -61,7 +61,7 @@ export const runAPI = async (express, app, __dirname, isPrimary = true) => { }) const handleRateExceeded = (_, res) => { - const { status, body } = createResponse("error", { + const { body } = createResponse("error", { code: "error.api.rate_exceeded", context: { limit: env.rateLimitWindow