diff --git a/src/Api/AdminConsole/Authorization/HttpContextExtensions.cs b/src/Api/AdminConsole/Authorization/HttpContextExtensions.cs index 40525a488c..ba00ea6c18 100644 --- a/src/Api/AdminConsole/Authorization/HttpContextExtensions.cs +++ b/src/Api/AdminConsole/Authorization/HttpContextExtensions.cs @@ -9,7 +9,7 @@ namespace Bit.Api.AdminConsole.Authorization; public static class HttpContextExtensions { public const string NoOrgIdError = - "A route decorated with with '[Authorize]' should include a route value named 'orgId' either through the [Controller] attribute or through a '[Http*]' attribute."; + "A route decorated with with '[Authorize]' must include a route value named 'orgId' either through the [Controller] attribute or through a '[Http*]' attribute."; /// /// Returns the result of the callback, caching it in HttpContext.Features for the lifetime of the request. @@ -32,8 +32,10 @@ public static class HttpContextExtensions /// /// Returns true if the user is a ProviderUser for a Provider which manages the specified organization, otherwise false. - /// This data is fetched from the database and cached as a HttpContext Feature for the lifetime of the request. /// + /// + /// This data is fetched from the database and cached as a HttpContext Feature for the lifetime of the request. + /// public static async Task IsProviderUserForOrgAsync( this HttpContext httpContext, IProviderUserRepository providerUserRepository, @@ -46,12 +48,10 @@ public static class HttpContextExtensions /// /// Returns the ProviderUserOrganizations for a user. These are the organizations the ProviderUser manages via their Provider, if any. - /// This data is fetched from the database and cached as a HttpContext Feature for the lifetime of the request. /// - /// - /// - /// - /// + /// + /// This data is fetched from the database and cached as a HttpContext Feature for the lifetime of the request. + /// private static async Task> GetProviderUserOrganizationsAsync( this HttpContext httpContext, IProviderUserRepository providerUserRepository,