diff --git a/src/main/java/cactusServer/resources/ObjectsRest.java b/src/main/java/cactusServer/resources/ObjectsRest.java index 52c5bef..e0d6a70 100644 --- a/src/main/java/cactusServer/resources/ObjectsRest.java +++ b/src/main/java/cactusServer/resources/ObjectsRest.java @@ -42,7 +42,7 @@ // @Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.TEXT_PLAIN) public String getObjects(@PathParam("instanceId") String instanceId) { - return JSON.encode(Instances.getInstance().getInstance(instanceId).getObjects()); + return JSON.encode(Instances.getInstance().getInstance(instanceId).getObjects()); } @POST