mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
List webhook URLs (#3034)
Addresses #3000. I limited the width of the URL field and made the full URL visible with a tooltip. The UI could probably use some sprucing up.
This commit is contained in:
@@ -24,6 +24,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
Time = s.Timestamp;
|
||||
Type = blob.ReadRequestAs<WebhookEvent>().Type;
|
||||
WebhookId = s.Id;
|
||||
PayloadUrl = s.Webhook?.GetBlob().Url;
|
||||
}
|
||||
public string Id { get; set; }
|
||||
public DateTimeOffset Time { get; set; }
|
||||
@@ -31,6 +32,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public string WebhookId { get; set; }
|
||||
public bool Success { get; set; }
|
||||
public string ErrorMessage { get; set; }
|
||||
public string PayloadUrl { get; set; }
|
||||
}
|
||||
public class EditWebhookViewModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user