fix(router): outgoing webhook api call (#1193)

This commit is contained in:
Sai Harsha Vardhan
2023-05-18 13:47:06 +05:30
committed by GitHub
parent 1f52a66452
commit 31a52d8058
7 changed files with 51 additions and 36 deletions

View File

@ -91,5 +91,8 @@ pub enum OutgoingWebhookContent {
DisputeDetails(Box<disputes::DisputeResponse>),
}
pub trait OutgoingWebhookType: Serialize + From<OutgoingWebhook> + Sync + Send {}
pub trait OutgoingWebhookType:
Serialize + From<OutgoingWebhook> + Sync + Send + std::fmt::Debug
{
}
impl OutgoingWebhookType for OutgoingWebhook {}