Testability ddd repository (#55)

This commit is contained in:
kos-for-juspay
2022-12-03 07:18:51 +02:00
committed by GitHub
parent 35289df715
commit 200a085fd0
116 changed files with 3551 additions and 1653 deletions

View File

@ -3,7 +3,7 @@ use router_env::{tracing, tracing::instrument};
use crate::{
core::errors::{self, RouterResponse, StorageErrorExt},
db::{mandate::IMandate, Db},
db::StorageInterface,
routes::AppState,
services,
types::{
@ -30,7 +30,7 @@ pub async fn get_mandate(
#[instrument(skip(db))]
pub async fn revoke_mandate(
db: &dyn Db,
db: &dyn StorageInterface,
merchant_account: storage::MerchantAccount,
req: mandates::MandateId,
) -> RouterResponse<mandates::MandateRevokedResponse> {