Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
[FEATURE] Update roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatole-Godard committed Jul 8, 2024
1 parent 74d9fac commit 8c20543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/gateway/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ app.use(
// #swagger.tags = ['Health Check']
);

app.use("/docs", withCheck({ role: ["ADMIN"] }), (__req, res) => {
app.use("/docs", (__req, res) => {
return res.send(require("./lib/swagger/swagger-output.json"));
});

Expand Down

0 comments on commit 8c20543

Please sign in to comment.