Skip to content

Commit 8a94957

Browse files
committed
sse + export identitities
1 parent becfe4d commit 8a94957

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/core/auth/auth.controller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export class AuthController extends AbstractController {
2727
return res.status(HttpStatus.OK).json({
2828
...tokens,
2929
user,
30+
sseToken: 'hZcdVqHScVDsDFdHOdcjmufEKFJVKaS8', //TODO: change to real token
3031
});
3132
}
3233

@@ -47,6 +48,7 @@ export class AuthController extends AbstractController {
4748
const tokens = await this.service.renewTokens(body.refresh_token);
4849
return res.status(HttpStatus.OK).json({
4950
...tokens,
51+
sseToken: 'hZcdVqHScVDsDFdHOdcjmufEKFJVKaS8', //TODO: change to real token
5052
});
5153
}
5254

src/management/identities/identities.module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ import { IdentitiesValidationFilter } from '~/_common/filters/identities-validat
3131
IdentitiesJsonformsService,
3232
],
3333
controllers: [IdentitiesController],
34+
exports: [IdentitiesService],
3435
})
3536
export class IdentitiesModule {}

0 commit comments

Comments
 (0)