Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Jun 21, 2023
1 parent 9f978cc commit f83ad09
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions packages/app-schema-router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ class SchemaRouterApp {
),
];

return express
.Router()
.use(this.apiPath, [
(req, res, next) => {
req.routerId = this.routerFn(req, res);
next();
},
...conditionalApps
]);
return express.Router().use(this.apiPath, [
(req, res, next) => {
req.routerId = this.routerFn(req, res);
next();
},
...conditionalApps,
]);
}

/**
Expand Down

0 comments on commit f83ad09

Please sign in to comment.