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:
Samuel Adams
2021-10-30 09:40:26 -04:00
committed by GitHub
parent 6b96f9b446
commit 24b7705094
3 changed files with 8 additions and 0 deletions

View File

@@ -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
{