mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Add webhook delivery status indicator (#2679)
* Add webhook delivery status indicator As discussed in: https://github.com/btcpayserver/btcpayserver/discussions/2616 * Add relative delivery time to tooltips
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BTCPayServer.Models.StoreViewModels
|
||||
{
|
||||
@@ -11,6 +9,9 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Url { get; set; }
|
||||
public bool LastDeliverySuccessful { get; set; } = true;
|
||||
public DateTimeOffset? LastDeliveryTimeStamp { get; set; } = null;
|
||||
public string? LastDeliveryErrorMessage { get; set; } = null;
|
||||
}
|
||||
public WebhookViewModel[] Webhooks { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user