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() + "," +
"\"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()) +
"}";