Skip to content

Commit

Permalink
rename lastFourDigits to cardLastFourDigits for API call
Browse files Browse the repository at this point in the history
  • Loading branch information
grgia committed Oct 30, 2023
1 parent 2707647 commit 466be70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libs/actions/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ function requestReplacementExpensifyCard(cardId, reason) {
/**
* Activates the physical Expensify card based on the last four digits of the card number
*
* @param {Number} lastFourDigits
* @param {Number} cardLastFourDigits
* @param {Number} cardID
*/
function activatePhysicalExpensifyCard(lastFourDigits, cardID) {
function activatePhysicalExpensifyCard(cardLastFourDigits, cardID) {
API.write(
'ActivatePhysicalExpensifyCard',
{lastFourDigits, cardID},
{cardLastFourDigits, cardID},
{
optimisticData: [
{
Expand Down

0 comments on commit 466be70

Please sign in to comment.