mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 01:18:27 +00:00
api/core: rename req and next args to indicate that they're unused
This commit is contained in:
parent
0aae3fe7f0
commit
3317726afe
@ -292,7 +292,7 @@ export const runAPI = (express, app, __dirname) => {
|
||||
})
|
||||
|
||||
// handle all express errors
|
||||
app.use((_, req, res, next) => {
|
||||
app.use((_, __, res, ___) => {
|
||||
return fail(res, "error.api.generic");
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user