Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bizk committed Oct 29, 2022
1 parent fa1c698 commit 89df9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nodes/nodes.routes.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class NodesRoutes extends CommonRoutesConfig {
});

this.app
.route(`/${USERS}/:userId/${NODES}/networkConfiguration`)
.route(`/${USERS}/:userId/networkConfiguration`)
.all((req: Request, res: Response, next: NextFunction) => {
// Middleware executed on every route. @TODO: Validation @TODO: Authentication @TODO: Hyperledger (some)
next();
Expand All @@ -87,7 +87,7 @@ export class NodesRoutes extends CommonRoutesConfig {
Bootstrap: [],
},
};
res.status(200).send(node);
res.status(200).send(networkConfiguration);
});
return this.app;
}
Expand Down

0 comments on commit 89df9a0

Please sign in to comment.