From 0a62bc1239c2d955d428db53e7a9ad3e9b195491 Mon Sep 17 00:00:00 2001 From: andrew rumble Date: Tue, 9 Jul 2024 11:18:33 +0100 Subject: [PATCH] Fix typo in name of method GitOrigin-RevId: fe8a2bcf5e577c001c4508b7bb010e1738ccc903 --- services/web/app/src/Features/Subscription/RecurlyWrapper.js | 4 ++-- .../web/test/unit/src/Subscription/RecurlyWrapperTests.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/app/src/Features/Subscription/RecurlyWrapper.js b/services/web/app/src/Features/Subscription/RecurlyWrapper.js index 8a9e62f7b2..cba5b602d3 100644 --- a/services/web/app/src/Features/Subscription/RecurlyWrapper.js +++ b/services/web/app/src/Features/Subscription/RecurlyWrapper.js @@ -599,7 +599,7 @@ const promises = { return await RecurlyWrapper.promises._parseSubscriptionXml(body) }, - async createFixedAmmountCoupon( + async createFixedAmountCoupon( couponCode, name, currencyCode, @@ -878,7 +878,7 @@ const RecurlyWrapper = { apiUrl: Settings.apis.recurly.url || 'https://api.recurly.com/v2', _buildXml, _parseXml: callbackify(promises._parseXml), - createFixedAmmountCoupon: callbackify(promises.createFixedAmmountCoupon), + createFixedAmountCoupon: callbackify(promises.createFixedAmountCoupon), getAccountActiveCoupons: callbackify(promises.getAccountActiveCoupons), getBillingInfo: callbackify(promises.getBillingInfo), getPaginatedEndpoint: callbackify(promises.getPaginatedEndpoint), diff --git a/services/web/test/unit/src/Subscription/RecurlyWrapperTests.js b/services/web/test/unit/src/Subscription/RecurlyWrapperTests.js index 225f78c2fc..60f2f25425 100644 --- a/services/web/test/unit/src/Subscription/RecurlyWrapperTests.js +++ b/services/web/test/unit/src/Subscription/RecurlyWrapperTests.js @@ -399,7 +399,7 @@ describe('RecurlyWrapper', function () { }) }) - describe('createFixedAmmountCoupon', function () { + describe('createFixedAmountCoupon', function () { beforeEach(async function () { this.couponCode = 'a-coupon-code' this.couponName = 'a-coupon-name' @@ -409,7 +409,7 @@ describe('RecurlyWrapper', function () { this.apiRequest = sinon .stub(this.RecurlyWrapper.promises, 'apiRequest') .resolves() - await this.RecurlyWrapper.promises.createFixedAmmountCoupon( + await this.RecurlyWrapper.promises.createFixedAmountCoupon( this.couponCode, this.couponName, this.currencyCode,