Skip to content

best way to save what you love

api/core: rename err argument to indicate that it's unused

wukko0aae3fe7f0af
diff --git a/api/src/core/api.js b/api/src/core/api.js
index acfd26cb..3e38cc71 100644
--- a/api/src/core/api.js
+++ b/api/src/core/api.js
@@ -292,7 +292,7 @@ export const runAPI = (express, app, __dirname) => {
})
// handle all express errors
- app.use((err, req, res, next) => {
+ app.use((_, req, res, next) => {
return fail(res, "error.api.generic");
})