api/core: rename req and next args to indicate that they're unused

This commit is contained in:
wukko 2024-09-09 19:44:40 +06:00
parent 0aae3fe7f0
commit 3317726afe
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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");
})