diff --git a/src/main/java/com/plugin/HttpOutput.java b/src/main/java/com/plugin/HttpOutput.java index 01ca25a..6434c66 100644 --- a/src/main/java/com/plugin/HttpOutput.java +++ b/src/main/java/com/plugin/HttpOutput.java @@ -98,7 +98,7 @@ public void write(Message msg) throws Exception { Map payload = new HashMap<>(); payload.put("intake_key", this.intake_key); - payload.put("json", this.gson.toJson(msg.getFields())); + payload.put("json", msg.getMessage()); this.executeRequest( RequestBody.create(