Skip to content

Commit

Permalink
[incubator-kie-issues#1624] Add missing auth header to data-index SVG…
Browse files Browse the repository at this point in the history
… request
  • Loading branch information
pefernan committed Nov 18, 2024
1 parent 18776c5 commit 67fa0c3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ public CompletableFuture<String> getProcessInstanceDiagram(String serviceURL, Pr
if (processSvgService == null) {
return CompletableFuture.completedFuture(null);
} else {
return CompletableFuture.supplyAsync(() -> processSvgService.getProcessInstanceSvg(processInstance.getProcessId(), processInstance.getId(), null).orElse(null), managedExecutor);
return CompletableFuture.supplyAsync(() -> processSvgService.getProcessInstanceSvg(processInstance.getProcessId(), processInstance.getId(), this.getAuthHeader()).orElse(null),
managedExecutor);
}
}

Expand Down

0 comments on commit 67fa0c3

Please sign in to comment.