Returning empty payload to fix JSON parse error thrown in JS

This commit is contained in:
rockstardev 2019-03-31 11:48:53 -05:00
parent ad0edb5f4c
commit 320826a4b9

View file

@ -438,7 +438,7 @@ namespace BTCPayServer.Controllers
return BadRequest(ModelState);
}
await _InvoiceRepository.UpdateInvoice(invoiceId, data).ConfigureAwait(false);
return Ok();
return Ok("{}");
}
[HttpGet]