mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-14 01:08:27 +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 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
|
||||||
|
Loading…
Reference in New Issue
Block a user