Added refactored /event/ endpoints

This commit is contained in:
Marc Beyer 2022-01-18 23:32:57 +01:00
parent 154617ce88
commit 031c1cea2a

View File

@ -20,8 +20,8 @@ public class JSONMapper {
"\"id\": " + event.getId() + "," + "\"id\": " + event.getId() + "," +
"\"name\": \"" + event.getName() + "\"," + "\"name\": \"" + event.getName() + "\"," +
"\"priority\": " + event.getPriority() + "," + "\"priority\": " + event.getPriority() + "," +
"\"isFullDay\": " + event.isFullDay() + "," + "\"fullDay\": " + event.isFullDay() + "," +
"\"isPrivate\": " + event.isPrivate() + "," + "\"private\": " + event.isPrivate() + "," +
"\"start\": " + ToJSON(event.getStart()) + "," + "\"start\": " + ToJSON(event.getStart()) + "," +
"\"end\": " + ToJSON(event.getEnd()) + "\"end\": " + ToJSON(event.getEnd()) +
"}"; "}";