Created Cally
This commit is contained in:
@@ -208,6 +208,16 @@ class ApiService {
|
||||
return data;
|
||||
}
|
||||
|
||||
async getSchedule(startDate, endDate) {
|
||||
return this.request(`/calendar/schedule?start_date=${startDate}&end_date=${endDate}`);
|
||||
}
|
||||
|
||||
async triggerSync() {
|
||||
const data = await this.request('/calendar/sync', { method: 'POST' });
|
||||
this.notify();
|
||||
return data;
|
||||
}
|
||||
|
||||
async addAudit(auditData) {
|
||||
const data = await this.request('/audit', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user