Added refactored /event/ endpoints
This commit is contained in:
parent
154617ce88
commit
031c1cea2a
@ -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()) +
|
||||
"}";
|
||||
|
Loading…
Reference in New Issue
Block a user