mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Returning empty payload to fix JSON parse error thrown in JS
This commit is contained in:
parent
ad0edb5f4c
commit
320826a4b9
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ namespace BTCPayServer.Controllers
|
|||
return BadRequest(ModelState);
|
||||
}
|
||||
await _InvoiceRepository.UpdateInvoice(invoiceId, data).ConfigureAwait(false);
|
||||
return Ok();
|
||||
return Ok("{}");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
|
|
Loading…
Add table
Reference in a new issue