chore: fix typos (#5883)

This commit is contained in:
Snoppy 2024-03-30 17:20:24 +08:00 committed by GitHub
parent cb25c225e9
commit 9ac0e982d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ namespace BTCPayServer.Hosting
if (!httpContext.Request.Path.HasValue) if (!httpContext.Request.Path.HasValue)
return false; 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"); bitpayAuth |= httpContext.Request.Query.ContainsKey("storeid");
var isJson = (httpContext.Request.ContentType ?? string.Empty).StartsWith("application/json", StringComparison.OrdinalIgnoreCase); var isJson = (httpContext.Request.ContentType ?? string.Empty).StartsWith("application/json", StringComparison.OrdinalIgnoreCase);

View file

@ -248,7 +248,7 @@ namespace BTCPayServer.Services.Stores
/// `role` can be passed in two format: /// `role` can be passed in two format:
/// STOREID::ROLE or ROLE. /// STOREID::ROLE or ROLE.
/// If the first case, this method make sure the storeId is same as <paramref name="storeId"/>. /// If the first case, this method make sure the storeId is same as <paramref name="storeId"/>.
/// 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.
/// </summary> /// </summary>
/// <param name="storeId"></param> /// <param name="storeId"></param>
/// <param name="role"></param> /// <param name="role"></param>