feat: add centers action (edit-meeting) (#1099)

Fixes: #1098
This commit is contained in:
Muskan Khedia
2020-07-15 00:06:07 +05:30
committed by GitHub
parent 7a249fb257
commit f55aaa0133
15 changed files with 463 additions and 4 deletions
+9
View File
@@ -236,4 +236,13 @@ export class CentersService {
return this.http.post(`/centers/${centerId}/calendars`, data);
}
getCalendarAndTemplate(centerId: any, calendarId: any): Observable<any> {
const httpParams = new HttpParams().set('template', 'true');
return this.http.get(`/centers/${centerId}/calendars/${calendarId}`, { params: httpParams });
}
updateCenterMeeting(centerId: any, data: any, calendarId: any): Observable<any> {
return this.http.put(`/centers/${centerId}/calendars/${calendarId}`, data);
}
}