Skip to content

Commit

Permalink
fix: use template id to list pipeline template versions (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
klu909 authored Feb 8, 2024
1 parent 93ff081 commit 05f250b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/pipelineTemplateVersionFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,11 @@ class PipelineTemplateVersionFactory extends BaseFactory {
return [];
}

config.params.templateId = pipelineTemplateMeta.id;

return super.list(config);
return super.list({
params: {
templateId: pipelineTemplateMeta.id
}
});
}

/**
Expand Down

0 comments on commit 05f250b

Please sign in to comment.