vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.59k stars 2.08k forks source link

fix: update registerIntegrations function to accommodate async change for each iteration #6779

Closed bartoszherba closed 2 years ago

bartoszherba commented 2 years ago

Description

After changing the registerIntegration function to an async function the reduce loop did not accumulate integrations data due to a non-resolved promise.

Motivation and Context

How Has This Been Tested?

Screenshots:

Types of changes

Checklist:

Changelog

Tests

Code standards

Docs