provide ics link
This commit is contained in:
parent
8c597fd68d
commit
91c3fde688
8 changed files with 155 additions and 4 deletions
|
@ -31,7 +31,7 @@ export async function getAllCalendarItems(req: Request, res: Response): Promise<
|
|||
* @returns {Promise<*>}
|
||||
*/
|
||||
export async function getCalendarItemById(req: Request, res: Response): Promise<any> {
|
||||
const id = parseInt(req.params.id);
|
||||
const id = req.params.id;
|
||||
let item = await CalendarService.getById(id);
|
||||
|
||||
res.json(CalendarFactory.mapToSingle(item));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue