mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
chore(deps): update fred and moka (#3088)
This commit is contained in:
@ -535,6 +535,7 @@ mod tests {
|
||||
merchant_id,
|
||||
hashed_api_key.into_inner()
|
||||
),)
|
||||
.await
|
||||
.is_none()
|
||||
)
|
||||
}
|
||||
|
||||
@ -63,7 +63,7 @@ where
|
||||
F: FnOnce() -> Fut + Send,
|
||||
Fut: futures::Future<Output = CustomResult<T, errors::StorageError>> + Send,
|
||||
{
|
||||
let cache_val = cache.get_val::<T>(key);
|
||||
let cache_val = cache.get_val::<T>(key).await;
|
||||
if let Some(val) = cache_val {
|
||||
Ok(val)
|
||||
} else {
|
||||
|
||||
@ -890,6 +890,7 @@ mod merchant_connector_account_cache_tests {
|
||||
"{}_{}",
|
||||
merchant_id, connector_label
|
||||
),)
|
||||
.await
|
||||
.is_none())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user