mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user