Skip to content

Commit 4b72853

Browse files
authored
Refactor WebTarget initialization in HttpExecutor
1 parent ec0c233 commit 4b72853

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

impl/http/src/main/java/io/serverlessworkflow/impl/executors/http/HttpExecutor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ public CompletableFuture<WorkflowModel> apply(
6969
p.apply(workflow, taskContext, input)))
7070
.orElse(uriSupplier.apply(workflow, taskContext, input));
7171

72-
WebTarget target = HttpClientResolver.client(workflow, taskContext).target(uri);
73-
72+
WebTarget target = HttpClientResolver.client(workflow, taskContext).target(uri);
7473
for (Entry<String, Object> entry :
7574
queryMap.map(q -> q.apply(workflow, taskContext, input)).orElse(Map.of()).entrySet()) {
7675
target = target.queryParam(entry.getKey(), entry.getValue());

0 commit comments

Comments
 (0)