diff --git a/server/src/main/java/com/vpr/server/json/JSONMapper.java b/server/src/main/java/com/vpr/server/json/JSONMapper.java index 0d0c224..30ab4cf 100644 --- a/server/src/main/java/com/vpr/server/json/JSONMapper.java +++ b/server/src/main/java/com/vpr/server/json/JSONMapper.java @@ -20,8 +20,8 @@ public class JSONMapper { "\"id\": " + event.getId() + "," + "\"name\": \"" + event.getName() + "\"," + "\"priority\": " + event.getPriority() + "," + - "\"isFullDay\": " + event.isFullDay() + "," + - "\"isPrivate\": " + event.isPrivate() + "," + + "\"fullDay\": " + event.isFullDay() + "," + + "\"private\": " + event.isPrivate() + "," + "\"start\": " + ToJSON(event.getStart()) + "," + "\"end\": " + ToJSON(event.getEnd()) + "}";