mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
chore: add lints in workspace cargo config (#223)
This commit is contained in:
@ -236,7 +236,7 @@ fn make_client_secret_null_if_success(
|
||||
status: Option<storage_enums::IntentStatus>,
|
||||
) -> Option<Option<String>> {
|
||||
if status == Some(storage_enums::IntentStatus::Succeeded) {
|
||||
Option::<Option<String>>::Some(None)
|
||||
Some(None)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user