mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
chore: fix typos (#5883)
This commit is contained in:
parent
cb25c225e9
commit
9ac0e982d6
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue