Skip to content

Commit

Permalink
Merge pull request Expensify#31693 from pasyukevich/bugfix/activete-p…
Browse files Browse the repository at this point in the history
…hysucal-card

fix type for activate card flow
  • Loading branch information
grgia authored Nov 28, 2023
2 parents c03a541 + a282098 commit 5eea628
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 5eea628

Please sign in to comment.