api: remove unused variable

This commit is contained in:
jj 2025-02-10 15:37:43 +00:00
parent 76a15e1b1d
commit fbd918484d
No known key found for this signature in database

View File

@ -61,7 +61,7 @@ export const runAPI = async (express, app, __dirname, isPrimary = true) => {
}) })
const handleRateExceeded = (_, res) => { const handleRateExceeded = (_, res) => {
const { status, body } = createResponse("error", { const { body } = createResponse("error", {
code: "error.api.rate_exceeded", code: "error.api.rate_exceeded",
context: { context: {
limit: env.rateLimitWindow limit: env.rateLimitWindow