mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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
|
||||
.attemptInvoiceCollection(invoiceId)
|
||||
.then(({ response, body }) => callback(null, response, body))
|
||||
.catch(callback)
|
||||
.catch(err => callback(err))
|
||||
},
|
||||
createFixedAmmountCoupon: callbackify(promises.createFixedAmmountCoupon),
|
||||
getAccountActiveCoupons: callbackify(promises.getAccountActiveCoupons),
|
||||
|
|
Loading…
Reference in a new issue