feat: add centers action (attach meeting) (#1097)

Fixes: #1096
This commit is contained in:
Muskan Khedia
2020-07-14 22:39:40 +05:30
committed by GitHub
parent 33a0045b10
commit 7a249fb257
12 changed files with 289 additions and 18 deletions
+8
View File
@@ -228,4 +228,12 @@ export class CentersService {
return this.http.post(`/centers/${centerId}/meetings`, data, {params: httpParams});
}
getCalendarTemplate(centerId: any): Observable<any> {
return this.http.get(`/centers/${centerId}/calendars/template`);
}
createCenterMeeting(centerId: any, data: any): Observable<any> {
return this.http.post(`/centers/${centerId}/calendars`, data);
}
}