Update on the injection of "HttpContext"

This commit is contained in:
Sébastien ANDRE
2023-08-11 16:19:00 +02:00
parent 778ee0b812
commit a27e4127dd
5 changed files with 19 additions and 18 deletions

View File

@@ -12,8 +12,7 @@ namespace skydiveLogs_api.DomainBusiness
public IdentityService(ClaimsPrincipal user)
{
if (user != null
&& user.Claims.Any())
if (user != null && user.Claims.Any())
{
var claims = user.Claims;