Skip to content

Commit

Permalink
Update src/Types/PaymentType.res
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja authored Mar 19, 2024
1 parent eefc469 commit 6276ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types/PaymentType.res
Original file line number Diff line number Diff line change
Expand Up @@ -975,5 +975,5 @@ let itemToObjMapper = (dict, logger) => {
type loadType = Loading | Loaded(JSON.t) | SemiLoaded | LoadError(JSON.t)

let getIsStoredPaymentMethodHasName = (savedMethod: customerMethods) => {
savedMethod.card.cardHolderName->Option.getOr("")->Js.String2.length > 0
savedMethod.card.cardHolderName->Option.getOr("")->String.length > 0
}

0 comments on commit 6276ece

Please sign in to comment.