From a0ff624481a2ea68a0bbb03e9c8c36265848ad37 Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Thu, 31 Oct 2024 04:12:22 +0300 Subject: [PATCH] fix: add forgotten changes --- Security/Services/AuthService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Security/Services/AuthService.cs b/Security/Services/AuthService.cs index 00fe9ca..afc03e8 100644 --- a/Security/Services/AuthService.cs +++ b/Security/Services/AuthService.cs @@ -76,8 +76,9 @@ public class AuthService(ICacheService cache, IAccessToken accessTokenService, I var authToken = new AuthToken(requestContext) { CreatedAt = DateTime.UtcNow, + RefreshToken = refreshToken, UserId = userId, - AccessToken = token, + AccessToken = token }; await SetAuthTokenDataToCache(authToken, cancellation);