diff --git a/app/modules/loyalty/static/store/js/loyalty-terminal.js b/app/modules/loyalty/static/store/js/loyalty-terminal.js index 652272a6..5d2a97c3 100644 --- a/app/modules/loyalty/static/store/js/loyalty-terminal.js +++ b/app/modules/loyalty/static/store/js/loyalty-terminal.js @@ -220,7 +220,7 @@ function storeLoyaltyTerminal() { async earnPoints() { loyaltyTerminalLog.info('Earning points...', { amount: this.earnAmount }); - const response = await apiClient.post('/store/loyalty/points/earn', { + const response = await apiClient.post('/store/loyalty/points', { card_id: this.selectedCard.id, purchase_amount_cents: Math.round(this.earnAmount * 100), staff_pin: this.pinDigits