UpdateUserAfterLogin fix

This commit is contained in:
Tudor Stanciu 2023-04-16 03:19:59 +03:00
parent eefa23b3b8
commit 8b7e4b1e64

View File

@ -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);