fix: save token after update
All checks were successful
.NET Test Pipeline / build-and-test (push) Successful in 1m23s
Build and Deploy Docker Container / build-and-deploy (push) Successful in 2m13s

This commit is contained in:
Polianin Nikita 2024-12-28 08:34:19 +03:00
parent 6358410f18
commit 92081156cf

View File

@ -417,6 +417,8 @@ public class OAuthService(ILogger<OAuthService> logger, Dictionary<OAuthProvider
result.UserAgent = requestInfo.UserAgent;
result.Fingerprint = requestInfo.Fingerprint;
await StoreOAuthUserInCache(token, result, cancellation);
return (result.User, result.Message, result.IsSuccess, result.Provider);
}
}