cozy / cozy-banks

A Banks Aggregator on Cozy
https://cozy.io
GNU Affero General Public License v3.0
59 stars 26 forks source link

fix: Crash of onOperationOrBillCreate service due to `window` #2688

Closed Merkur39 closed 9 months ago

Merkur39 commented 9 months ago

This service no longer worked since the work on brands, the cause coming from the call to the getBrands function called in getBillRegexp. We now pass the brands to him via his arguments.

This is a fix to get the service back up and running while waiting for a better approach.

### 🐛 Bug Fixes

* Fix crash of onOperationOrBillCreate service due to `window`