overleaf/services/web/app
Antoine Clausse 554be73a36 In collect_paypal_past_due_invoice.js, iterate over each page instead of gathering data from all pages at first (#18414)
* Create `getPaginatedEndpointIterator` to iterate each page

* Create `waitMs` util, it will replace `slowCallback`

* Make `handleAPIError` async

* Make `isAccountUsingPaypal` async

* Make `attemptInvoiceCollection` async

* Make `attemptInvoicesCollection` async

* Use `await` instead of `new Promise`

* Remove unused callbackified `attemptInvoiceCollection`

* Run `attemptInvoiceCollection` for each page instead of gathering all pages in the beginning

* Add test on fetching multiple pages of invoice

GitOrigin-RevId: 2674b18c6ca5732b873fb2bc71b515909006f93d
2024-05-27 10:23:18 +00:00
..
src In collect_paypal_past_due_invoice.js, iterate over each page instead of gathering data from all pages at first (#18414) 2024-05-27 10:23:18 +00:00
templates [web] Use localized number formatting for currencies (#17622) 2024-04-19 08:03:54 +00:00
views Merge pull request #18437 from overleaf/rd-bs5-project-dashboard 2024-05-27 10:22:58 +00:00