Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader committed Jan 30, 2025
1 parent 11c0a09 commit 1e79950
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public Object execute(OutboundConnectorContext context) throws Exception {

final var request =
HttpRequest.newBuilder()
.uri(URI.create(Optional.of(serverUrl).orElse(JS_MAGIC_ENDPOINT)))
.uri(URI.create(Optional.ofNullable(serverUrl).orElse(JS_MAGIC_ENDPOINT)))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(MAPPER.writeValueAsString(denoRequest)));

Expand Down

0 comments on commit 1e79950

Please sign in to comment.