Skip to content

Commit

Permalink
api: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmoron committed Feb 10, 2025
1 parent 76a15e1 commit fbd9184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/core/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbd9184

Please sign in to comment.