Merge pull request #18453 from overleaf/em-fix-floating-promise

Fix no-floating-promises lint rule

GitOrigin-RevId: 58f89e0078abf72be65552f9468cb225e5758e3e
This commit is contained in:
Eric Mc Sween 2024-05-21 16:03:19 -04:00 committed by Copybot
parent 876ee4d967
commit a22319fe46

View file

@ -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),