diff --git a/src/Tuitio.Domain.Data/Repositories/UserRepository.cs b/src/Tuitio.Domain.Data/Repositories/UserRepository.cs index b07a189..c9cd0e7 100644 --- a/src/Tuitio.Domain.Data/Repositories/UserRepository.cs +++ b/src/Tuitio.Domain.Data/Repositories/UserRepository.cs @@ -49,7 +49,7 @@ namespace Tuitio.Domain.Data.Repositories UserId = token.UserId, Token = tokenRaw, ValidFrom = token.CreatedAt, - ValidUntil = token.CreatedAt.AddMilliseconds(token.ExpiresIn) + ValidUntil = token.CreatedAt.AddSeconds(token.ExpiresIn) }; await _dbContext.AddAsync(userToken);