Skip to content

Commit

Permalink
Actually use workflow option in saved object bundle selection (opense…
Browse files Browse the repository at this point in the history
…arch-project#1704)

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 3506f93)
  • Loading branch information
Swiddis authored and sejli committed Apr 17, 2024
1 parent 44950ea commit b2c830d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/adaptors/integrations/integrations_builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class IntegrationInstanceBuilder {
if (!assets.ok) {
return Promise.reject(assets.error);
}
const remapped = this.remapIDs(this.getSavedObjectBundles(assets.value));
const remapped = this.remapIDs(this.getSavedObjectBundles(assets.value, options.workflows));
const withDataSource = this.remapDataSource(remapped, options.dataSource);
const refs = await this.postAssets(withDataSource);
const builtInstance = await this.buildInstance(integration, refs, options);
Expand Down

0 comments on commit b2c830d

Please sign in to comment.