mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Give function more meaningful name.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import errorHandler from './errorHandler';
|
||||
|
||||
export default function middleware (app) {
|
||||
export default function attachMiddlewares (app) {
|
||||
// Error handler middleware, define as the last one
|
||||
app.use(errorHandler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user