From a22319fe469884de4b311ec8d4cda27fa1cd26dd Mon Sep 17 00:00:00 2001 From: Eric Mc Sween <5454374+emcsween@users.noreply.github.com> Date: Tue, 21 May 2024 16:03:19 -0400 Subject: [PATCH] Merge pull request #18453 from overleaf/em-fix-floating-promise Fix no-floating-promises lint rule GitOrigin-RevId: 58f89e0078abf72be65552f9468cb225e5758e3e --- services/web/app/src/Features/Subscription/RecurlyWrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/src/Features/Subscription/RecurlyWrapper.js b/services/web/app/src/Features/Subscription/RecurlyWrapper.js index ebd8e64d43..dc0d5ed4ca 100644 --- a/services/web/app/src/Features/Subscription/RecurlyWrapper.js +++ b/services/web/app/src/Features/Subscription/RecurlyWrapper.js @@ -865,7 +865,7 @@ const RecurlyWrapper = { promises .attemptInvoiceCollection(invoiceId) .then(({ response, body }) => callback(null, response, body)) - .catch(callback) + .catch(err => callback(err)) }, createFixedAmmountCoupon: callbackify(promises.createFixedAmmountCoupon), getAccountActiveCoupons: callbackify(promises.getAccountActiveCoupons),