mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-17 13:04:21 +01:00
Using WebhookPendingTransactionEvent for test events
This commit is contained in:
@@ -68,7 +68,7 @@ public class PendingTransactionWebhookProvider(
|
||||
public override WebhookEvent CreateTestEvent(string type, params object[] args)
|
||||
{
|
||||
var storeId = args[0].ToString();
|
||||
return new WebhookInvoiceEvent(type, storeId) { InvoiceId = "__test__" + Guid.NewGuid() + "__test__" };
|
||||
return new WebhookPendingTransactionEvent(type, storeId) { PendingTransactionId = "__test__" + Guid.NewGuid() + "__test__" };
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user