refactor(db_interfaces): move db interfaces in router to domain_models (#9830)

Co-authored-by: Ankit Kumar Gupta <ankit.gupta.001@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Gaurav Rawat <104276743+GauravRawat369@users.noreply.github.com>
This commit is contained in:
Jagan
2025-10-15 12:18:53 +05:30
committed by GitHub
parent 2f90ffa211
commit 59628332de
55 changed files with 5386 additions and 4504 deletions

View File

@ -231,6 +231,13 @@ impl MockDb {
Err(StorageError::ValueNotFound(error_message).into())
}
}
pub fn get_master_key(&self) -> &[u8] {
&[
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32,
]
}
}
#[cfg(not(feature = "payouts"))]