Revamp calendar dialog (#158)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
@@ -53,3 +53,10 @@ export async function deleteEvent(eventURL: string) {
|
||||
});
|
||||
return response;
|
||||
}
|
||||
|
||||
export async function importEventFromFile(id: string, calLink: string) {
|
||||
const response = await api.post(`api/import`, {
|
||||
body: JSON.stringify({ fileId: id, target: calLink }),
|
||||
});
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user