Skip to content

Commit

Permalink
chore: remove unused token generation endpoint
Browse files Browse the repository at this point in the history
The endpoint was using GET and unused, so let's remove it.
  • Loading branch information
tkurki committed Jun 24, 2024
1 parent d126505 commit 7c94c64
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/serverroutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,19 +387,6 @@ module.exports = function (
}
)

app.get(
`${SERVERROUTESPREFIX}/security/token/:id/:expiration`,
(req: Request, res: Response, next: NextFunction) => {
app.securityStrategy.generateToken(
req,
res,
next,
req.params.id,
req.params.expiration
)
}
)

app.put(
[
`${SERVERROUTESPREFIX}/security/access/requests/:identifier/:status`,
Expand Down

0 comments on commit 7c94c64

Please sign in to comment.