mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #18453 from overleaf/em-fix-floating-promise
Fix no-floating-promises lint rule GitOrigin-RevId: 58f89e0078abf72be65552f9468cb225e5758e3e
This commit is contained in:
parent
876ee4d967
commit
a22319fe46
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ const RecurlyWrapper = {
|
||||||
promises
|
promises
|
||||||
.attemptInvoiceCollection(invoiceId)
|
.attemptInvoiceCollection(invoiceId)
|
||||||
.then(({ response, body }) => callback(null, response, body))
|
.then(({ response, body }) => callback(null, response, body))
|
||||||
.catch(callback)
|
.catch(err => callback(err))
|
||||||
},
|
},
|
||||||
createFixedAmmountCoupon: callbackify(promises.createFixedAmmountCoupon),
|
createFixedAmmountCoupon: callbackify(promises.createFixedAmmountCoupon),
|
||||||
getAccountActiveCoupons: callbackify(promises.getAccountActiveCoupons),
|
getAccountActiveCoupons: callbackify(promises.getAccountActiveCoupons),
|
||||||
|
|
Loading…
Reference in a new issue