vuestorefront / vue-storefront-api

Vue.js storefront for Magento2 (and not only) - data backend
https://www.vuestorefront.io
MIT License
348 stars 338 forks source link

Refactor sending order to magento2, refactor o2m.js. #534

Closed afirlejczyk closed 3 years ago

afirlejczyk commented 3 years ago

I made some refactoring to use await..async instead of nested promise callback chain. It's more readable and will be easier to maintain for a future.. or at least it's a little more readable than before. I guess it will best if Piotr @pkarw or someone checkout if I didn't miss anything. Feel free to make updates/fixes.