mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Fix entity framework queries to work in netcoreapp3.0
This commit is contained in:
@@ -103,7 +103,7 @@ namespace BTCPayServer.Security.Bitpay
|
||||
{
|
||||
using (StreamReader reader = new StreamReader(httpContext.Request.Body, Encoding.UTF8, true, 1024, true))
|
||||
{
|
||||
body = reader.ReadToEnd();
|
||||
body = await reader.ReadToEndAsync();
|
||||
}
|
||||
httpContext.Request.Body.Position = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user