deps(api_models): put the errors module behind a feature flag (#815)

This commit is contained in:
ItsMeShashank
2023-03-30 15:13:34 +05:30
committed by GitHub
parent 324df4de8c
commit f14f87a106
8 changed files with 23 additions and 18 deletions

View File

@ -722,7 +722,7 @@ impl api::IncomingWebhook for Trustpay {
fn get_dispute_details(
&self,
request: &api_models::webhooks::IncomingWebhookRequestDetails<'_>,
request: &api::IncomingWebhookRequestDetails<'_>,
) -> CustomResult<api::disputes::DisputePayload, errors::ConnectorError> {
let trustpay_response: trustpay::TrustpayWebhookResponse = request
.body