UpdateUserAfterLogin fix

master
Tudor Stanciu 2023-04-16 03:19:59 +03:00
parent eefa23b3b8
commit 8b7e4b1e64
1 changed files with 1 additions and 1 deletions

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