mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-13 08:48:26 +00:00
api: remove unused variable
This commit is contained in:
parent
76a15e1b1d
commit
fbd918484d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user