refactor(router): separate enums for api (#96)

This commit is contained in:
ItsMeShashank
2022-12-09 14:03:43 +05:30
committed by GitHub
parent f76f3e2f54
commit 9710af1e56
34 changed files with 1168 additions and 389 deletions

View File

@ -123,7 +123,7 @@ async fn create_event_and_trigger_outgoing_webhook(
let outgoing_webhook = api::OutgoingWebhook {
merchant_id: merchant_account.merchant_id.clone(),
event_id: event.event_id,
event_type: event.event_type,
event_type: event.event_type.into(),
content,
timestamp: event.created_at,
};