Skip to content

Commit

Permalink
Fix: "'" issue
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hu <[email protected]>
  • Loading branch information
daniel-hutao committed Nov 15, 2023
1 parent affc7e1 commit ba3ba1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ai/devchat/devchat/DevChatActionHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void sendResponse(String action, String responseFunc, BiConsumer<JSONObje

callback.accept(metadata, payload);

cefBrowser.executeJavaScript(responseFunc + "('" + response.toString() + "')", "", 0);
cefBrowser.executeJavaScript(responseFunc + "(" + response.toString() + ")", "", 0);
}

public Project getProject() {
Expand Down

0 comments on commit ba3ba1e

Please sign in to comment.