Skip to content

Commit 3506f93

Browse files
authored
Actually use workflow option in saved object bundle selection (#1704)
Signed-off-by: Simeon Widdis <[email protected]>
1 parent 84a00f3 commit 3506f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/adaptors/integrations/integrations_builder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class IntegrationInstanceBuilder {
4141
if (!assets.ok) {
4242
return Promise.reject(assets.error);
4343
}
44-
const remapped = this.remapIDs(this.getSavedObjectBundles(assets.value));
44+
const remapped = this.remapIDs(this.getSavedObjectBundles(assets.value, options.workflows));
4545
const withDataSource = this.remapDataSource(remapped, options.dataSource);
4646
const refs = await this.postAssets(withDataSource);
4747
const builtInstance = await this.buildInstance(integration, refs, options);

0 commit comments

Comments
 (0)