Fix build

This commit is contained in:
nicolas.dorier
2019-10-03 17:37:10 +09:00
parent 8d0d80e086
commit aaa05eb5ec
4 changed files with 7 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ using NBitpayClient;
using NBitpayClient.Extensions;
using Newtonsoft.Json.Linq;
using BTCPayServer.Logging;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.AspNetCore.Authentication;
using System.Text.Encodings.Web;
using BTCPayServer.Data;
@@ -95,7 +95,7 @@ namespace BTCPayServer.Security.Bitpay
private async Task<(string StoreId, bool SuccessAuth)> CheckBitId(HttpContext httpContext, string sig, string id, List<Claim> claims)
{
httpContext.Request.EnableRewind();
httpContext.Request.EnableBuffering();
string storeId = null;
string body = string.Empty;