Skip to content

Commit

Permalink
Merge b963cc9 into c18ef05
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Jul 26, 2023
2 parents c18ef05 + b963cc9 commit 332268e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void handle(HttpExchange httpExchange) throws IOException {
JsonNode node = JsonUtils.getJsonNode(NetUtils.parsePostBody(httpExchange));
Objects.requireNonNull(node, "JsonNode can not be null");

WebHookConfig webHookConfig = JsonUtils.parseObject(node.get("webHookConfig").toString(), WebHookConfig.class);
WebHookConfig webHookConfig = JsonUtils.parseObject(node.toString(), WebHookConfig.class);

Check warning on line 70 in eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/QueryWebHookConfigByManufacturerHandler.java

View check run for this annotation

Codecov / codecov/patch

eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/QueryWebHookConfigByManufacturerHandler.java#L70

Added line #L70 was not covered by tests
Integer pageNum = Integer.valueOf(node.get("pageNum").toString());
Integer pageSize = Integer.valueOf(node.get("pageSize").toString());

Expand Down

0 comments on commit 332268e

Please sign in to comment.