mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Fix payment request archival actions (#3443)
This commit is contained in:
@@ -336,9 +336,9 @@ namespace BTCPayServer.Controllers
|
||||
model.Archived = !model.Archived;
|
||||
await EditPaymentRequest(payReqId, model);
|
||||
TempData[WellKnownTempData.SuccessMessage] = model.Archived
|
||||
? "The payment request has been archived and will no longer appear in the payment request list by default again."
|
||||
: "The payment request has been unarchived and will appear in the payment request list by default.";
|
||||
return RedirectToAction("GetPaymentRequests");
|
||||
? "The payment request has been archived and will no longer appear in the payment request list by default again."
|
||||
: "The payment request has been unarchived and will appear in the payment request list by default.";
|
||||
return RedirectToAction("GetPaymentRequests", new { storeId = store.Id });
|
||||
}
|
||||
|
||||
return NotFound();
|
||||
|
||||
Reference in New Issue
Block a user