fix(auth): pass session uuid to web sockets controller

This commit is contained in:
Karol Sójko 2023-11-28 10:46:39 +01:00
parent 4cc647ac07
commit edb0a768d0
No known key found for this signature in database
GPG key ID: C2F813669419D05F

View file

@ -48,6 +48,7 @@ export class BaseWebSocketsController extends BaseHttpController {
const resultOrError = await this.createCrossServiceToken.execute({ const resultOrError = await this.createCrossServiceToken.execute({
userUuid: token.userUuid, userUuid: token.userUuid,
sessionUuid: token.sessionUuid,
}) })
if (resultOrError.isFailed()) { if (resultOrError.isFailed()) {
return this.json( return this.json(