Fix/refresh token (#9135)
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user