Skip to content

Commit

Permalink
Fix/refresh token (#9135)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMoreaux authored Dec 18, 2024
1 parent 5e03f4d commit 7375ab8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('RefreshTokenService', () => {
});
expect(appTokenRepository.save).toHaveBeenCalled();
expect(jwtWrapperService.sign).toHaveBeenCalledWith(
{ sub: userId },
{ sub: userId, workspaceId },
expect.objectContaining({
secret: 'mock-secret',
expiresIn: mockExpiresIn,
Expand Down

0 comments on commit 7375ab8

Please sign in to comment.