mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Refactoring of Webhooks and Email Rules (#6954)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace BTCPayServer.Plugins.Webhooks.Views;
|
||||
|
||||
/// <summary>
|
||||
/// Used to represent available webhooks with their descriptions in the ModifyWebhook view
|
||||
/// </summary>
|
||||
/// <param name="type">The webhook type</param>
|
||||
/// <param name="description">User friendly description</param>
|
||||
public class AvailableWebhookViewModel(string type, string description)
|
||||
{
|
||||
public string Type { get; } = type;
|
||||
public string Description { get; } = description;
|
||||
}
|
||||
Reference in New Issue
Block a user