refactor(core): eliminate business profile database queries in payments confirm flow (#2190)

This commit is contained in:
BallaNitesh
2023-09-22 14:45:33 +05:30
committed by GitHub
parent 8b89969476
commit 90e43929a0
8 changed files with 28 additions and 16 deletions

View File

@ -320,6 +320,7 @@ pub async fn get_profile_id_using_object_reference_id(
merchant_account,
payment_intent.profile_id.as_ref(),
db,
false,
)
.await
.change_context(errors::ApiErrorResponse::InternalServerError)