diff --git a/BTCPayServer/Hosting/BTCpayMiddleware.cs b/BTCPayServer/Hosting/BTCpayMiddleware.cs index 8ab03bacd..828911752 100644 --- a/BTCPayServer/Hosting/BTCpayMiddleware.cs +++ b/BTCPayServer/Hosting/BTCpayMiddleware.cs @@ -114,7 +114,7 @@ namespace BTCPayServer.Hosting if (!httpContext.Request.Path.HasValue) return false; - // In case of anyone can create invoice, the storeId can be set explicitely + // In case of anyone can create invoice, the storeId can be set explicitly bitpayAuth |= httpContext.Request.Query.ContainsKey("storeid"); var isJson = (httpContext.Request.ContentType ?? string.Empty).StartsWith("application/json", StringComparison.OrdinalIgnoreCase); diff --git a/BTCPayServer/Services/Stores/StoreRepository.cs b/BTCPayServer/Services/Stores/StoreRepository.cs index e83be9684..f96b5cd32 100644 --- a/BTCPayServer/Services/Stores/StoreRepository.cs +++ b/BTCPayServer/Services/Stores/StoreRepository.cs @@ -248,7 +248,7 @@ namespace BTCPayServer.Services.Stores /// `role` can be passed in two format: /// STOREID::ROLE or ROLE. /// If the first case, this method make sure the storeId is same as . - /// In the second case, we interprete ROLE as a server level roleId first, then if it does not exist, check if there is a store level role. + /// In the second case, we interpret ROLE as a server level roleId first, then if it does not exist, check if there is a store level role. /// /// ///