fix: merchant webhook config should be looked up in config table instead of redis (#1241)

This commit is contained in:
Hrithikesh
2023-05-23 20:24:38 +05:30
committed by GitHub
parent 3857d06627
commit 48e537568d
2 changed files with 23 additions and 4 deletions

View File

@ -535,6 +535,8 @@ pub async fn trigger_webhook_to_merchant<W: api::OutgoingWebhookType>(
let response =
services::api::send_request(state, request, Some(OUTGOING_WEBHOOK_TIMEOUT_SECS)).await;
logger::debug!(outgoing_webhook_response=?response);
match response {
Err(e) => {
// [#217]: Schedule webhook for retry.