feat(router): add an api to migrate the apple pay certificates from connector metadata to connector_wallets_details column in merchant connector account (#4790)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
This commit is contained in:
Shankar Singh C
2024-06-06 13:53:03 +05:30
committed by GitHub
parent ee11723b60
commit 7a9423759e
52 changed files with 763 additions and 173 deletions

View File

@ -101,6 +101,12 @@ impl From<error_stack::Report<RedisError>> for StorageError {
}
}
impl From<diesel::result::Error> for StorageError {
fn from(err: diesel::result::Error) -> Self {
Self::from(error_stack::report!(DatabaseError::from(err)))
}
}
impl From<error_stack::Report<DatabaseError>> for StorageError {
fn from(err: error_stack::Report<DatabaseError>) -> Self {
Self::DatabaseError(err)