Update plugins/catalog-backend/src/catalog/DatabaseEntitiesCatalog.ts
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -253,8 +253,8 @@ export class DatabaseEntitiesCatalog implements EntitiesCatalog {
|
||||
}
|
||||
}
|
||||
|
||||
const entityUpserts = (await Promise.all(tasks)).flat();
|
||||
return entityUpserts;
|
||||
const entityUpserts = await Promise.all(tasks);
|
||||
return entityUpserts.flat();
|
||||
}
|
||||
|
||||
// Set the relations originating from an entity using the DB layer
|
||||
|
||||
Reference in New Issue
Block a user