diff --git a/src/lib/services/feature-toggle-service.ts b/src/lib/services/feature-toggle-service.ts index eeb1156445..b04f52ea3e 100644 --- a/src/lib/services/feature-toggle-service.ts +++ b/src/lib/services/feature-toggle-service.ts @@ -288,9 +288,9 @@ class FeatureToggleService { sortOrders: SetStrategySortOrderSchema, ): Promise> { await Promise.all( - sortOrders.map(({ id, sortOrder }) => { - this.featureStrategiesStore.updateSortOrder(id, sortOrder); - }), + sortOrders.map(async ({ id, sortOrder }) => + this.featureStrategiesStore.updateSortOrder(id, sortOrder), + ), ); }