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,