Fix warnings (#5517)

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
This commit is contained in:
Nicolas Dorier
2023-11-28 23:20:03 +09:00
committed by GitHub
parent 4023b24209
commit 1081eab9db
19 changed files with 43 additions and 44 deletions

View File

@@ -1473,7 +1473,7 @@ namespace BTCPayServer.Controllers
return Request.GetRelativePathOrAbsolute(res);
}
private string GetUserId() => _userManager.GetUserId(User);
private string GetUserId() => _userManager.GetUserId(User)!;
private StoreData GetCurrentStore() => HttpContext.GetStoreData();
}