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