This commit is contained in:
Peter Maquiran
2022-04-06 14:51:35 +01:00
parent 5570b07ddf
commit d0d920f80b
5 changed files with 54 additions and 43 deletions
+10 -1
View File
@@ -486,7 +486,7 @@ export class EventsService {
return this.http.get<Event>(`${geturl}`, options);
} else {
alert('headr not found'+ calendarId)
}
throw('error')
@@ -814,6 +814,13 @@ export class EventsService {
})
if (header) {
options = {
headers: header,
params: params
};
return this.http.delete(`${puturl}`, options).pipe(
catchError(err => {
console.log('Event edit saved offline')
@@ -821,6 +828,8 @@ export class EventsService {
throw new Error(err);
})
)
} else {
}
throw('header not found')