Skip to content

Commit 9464ae3

Browse files
dragonpooludomikula
authored andcommitted
Resolved issue where plugins were not being detected.
1 parent 72abc0b commit 9464ae3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/plugin/client/DatasourcePluginClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public Mono<QueryExecutionResult> executeQuery(String pluginName, Object queryDs
138138
String json = OBJECT_MAPPER.writeValueAsString(body);
139139

140140
boolean encryptionEnabled = !(commonConfig.getJsExecutor().getPassword().isEmpty() || commonConfig.getJsExecutor().getSalt().isEmpty());
141-
String payload;
141+
Object payload;
142142
WebClient.RequestBodySpec requestSpec = WEB_CLIENT
143143
.post()
144144
.uri(nodeServerHelper.createUri(RUN_PLUGIN_QUERY))
@@ -148,7 +148,7 @@ public Mono<QueryExecutionResult> executeQuery(String pluginName, Object queryDs
148148
payload = encryptionService.encryptStringForNodeServer(json);
149149
requestSpec = requestSpec.header("X-Encrypted", "true");
150150
} else {
151-
payload = json;
151+
payload = body;
152152
}
153153

154154
return requestSpec

0 commit comments

Comments
 (0)