Skip to content

Commit 5a9bd0e

Browse files
committed
fix obsolete comment
1 parent ae18763 commit 5a9bd0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VirtoCommerce.Xapi.Core/Extensions/ClaimsPrincipalExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace VirtoCommerce.Xapi.Core.Extensions;
77

88
public static class ClaimsPrincipalExtensions
99
{
10-
[Obsolete("Use VirtoCommerce.Platform.Core.Security.GetUserId extension", DiagnosticId = "VC0009", UrlFormat = "https://docs.virtocommerce.org/platform/user-guide/versions/virto3-products-versions/")]
10+
[Obsolete("Use VirtoCommerce.Platform.Core.Security.ClaimsPrincipalExtensions.GetUserId extension", DiagnosticId = "VC0009", UrlFormat = "https://docs.virtocommerce.org/platform/user-guide/versions/virto3-products-versions/")]
1111
public static string GetCurrentUserId(this ClaimsPrincipal claimsPrincipal)
1212
{
1313
return claimsPrincipal?.GetUserId() ?? AnonymousUser.UserName;

0 commit comments

Comments
 (0)