Skip to content

Commit 938b63a

Browse files
fix(connector): [CASHTOCODE] Fix Error Response Handling (#2926)
1 parent e566a4e commit 938b63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/router/src/connector/cashtocode/transformers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ impl<F, T>
289289

290290
#[derive(Debug, Deserialize)]
291291
pub struct CashtocodeErrorResponse {
292-
pub error: String,
292+
pub error: serde_json::Value,
293293
pub error_description: String,
294294
pub errors: Option<Vec<CashtocodeErrors>>,
295295
}

0 commit comments

Comments
 (0)