Add messages

This commit is contained in:
Peter Maquiran
2021-05-25 13:38:46 +01:00
parent 0e96fb50f0
commit c124f9b2a4
22 changed files with 424 additions and 122 deletions
+2 -6
View File
@@ -203,9 +203,7 @@ export class EventsService {
headers: this.headers,
params: params
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options)
}
createTaskEvent(folderId:any, body:any, sharedagenda:string, serialNumber:any, applicationID:any){
const geturl = environment.apiURL + 'calendar/' + ((sharedagenda != '') ? sharedagenda : 'CreateEventExpediente')+'/dispatch';
@@ -219,9 +217,7 @@ export class EventsService {
headers: this.headers,
params: params
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options)
}
postEventToApproveEdit(body: EventToApproveEdit) {