From 9ac0e982d67b9c50e1e1c4cb3664ef97c00fe5dc Mon Sep 17 00:00:00 2001 From: Snoppy Date: Sat, 30 Mar 2024 17:20:24 +0800 Subject: [PATCH] chore: fix typos (#5883) --- BTCPayServer/Hosting/BTCpayMiddleware.cs | 2 +- BTCPayServer/Services/Stores/StoreRepository.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. /// /// ///