Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ All notable changes to this project will be documented in this file. See [standa

* remove password from error log ([#658](https://github.com/redkubes/otomi-api/issues/658)) ([754e672](https://github.com/redkubes/otomi-api/commit/754e6727d0f5558abc58e6e64a9b194151317871))

### [3.7.4](https://github.com/redkubes/otomi-api/compare/v3.7.3...v3.7.4) (2025-03-20)


### Bug Fixes

* create helm chart with branches or tags ([#667](https://github.com/redkubes/otomi-api/issues/667)) ([1a55142](https://github.com/redkubes/otomi-api/commit/1a551420b64c1c28975e9b591a9b561e22a6a856))

### [3.7.3](https://github.com/redkubes/otomi-api/compare/v3.7.2...v3.7.3) (2025-03-19)


### Bug Fixes

* get commit sha from session stack ([#664](https://github.com/redkubes/otomi-api/issues/664)) ([4cf4ecd](https://github.com/redkubes/otomi-api/commit/4cf4ecdf8082c2f1e94447fee9636cb6f94d0045))

### [3.7.2](https://github.com/redkubes/otomi-api/compare/v3.7.1...v3.7.2) (2025-03-14)

Expand Down
3 changes: 2 additions & 1 deletion src/middleware/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ export function sessionMiddleware(server: http.Server): RequestHandler {

if (['post', 'put', 'delete'].includes(req.method.toLowerCase())) {
// in the cloudtty or workloadCatalog endpoint(s), don't need to create a session
if (req.path === '/v1/cloudtty' || req.path === '/v1/workloadCatalog') return next()
if (req.path === '/v1/cloudtty' || req.path === '/v1/workloadCatalog' || req.path === '/v1/createWorkloadCatalog')
return next()
// bootstrap session stack with unique sessionId to manipulate data
const sessionId = uuidv4() as string
// eslint-disable-next-line no-param-reassign
Expand Down
Loading