refactor: change const name to class with name

This commit is contained in:
nikita
2025-01-24 17:10:18 +03:00
parent 92081156cf
commit 56c7196100

View File

@ -28,7 +28,7 @@ internal class RequestContextInfo
UserAgent = userAgent;
Fingerprint = fingerprint;
Ip = ip;
RefreshToken = context.Request.Cookies["refresh_token"] ?? string.Empty;
RefreshToken = context.Request.Cookies[CookieNames.RefreshToken] ?? string.Empty;
}
public string UserAgent { get; private set; }