Skip to content

Commit

Permalink
fix type for activate card flow
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Nov 24, 2023
1 parent a2fc32b commit a282098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/actions/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function requestReplacementExpensifyCard(cardId, reason) {
/**
* Activates the physical Expensify card based on the last four digits of the card number
*
* @param {Number} cardLastFourDigits
* @param {String} cardLastFourDigits
* @param {Number} cardID
*/
function activatePhysicalExpensifyCard(cardLastFourDigits, cardID) {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/ActivatePhysicalCardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function ActivatePhysicalCardPage({
return;
}

CardSettings.activatePhysicalExpensifyCard(Number(lastFourDigits), cardID);
CardSettings.activatePhysicalExpensifyCard(lastFourDigits, cardID);
}, [lastFourDigits, cardID, translate]);

if (_.isEmpty(physicalCard)) {
Expand Down

0 comments on commit a282098

Please sign in to comment.