Skip to content

Commit

Permalink
Fix argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
kathy-t committed Apr 11, 2024
1 parent 67c78a3 commit eb30f4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ public SourceFile getDescriptorFromServer(String entry, DescriptorLanguage descr

if (valid) {
try {
file = workflowsApi.primaryDescriptor1(workflow.getId(), version, descriptorType.toString());
file = workflowsApi.primaryDescriptor1(workflow.getId(), descriptorType.toString(), version);
} catch (ApiException ex) {
if (ex.getCode() == HttpStatus.SC_BAD_REQUEST) {
// TODO: "No descriptor found" should not trigger the below
Expand Down

0 comments on commit eb30f4f

Please sign in to comment.