mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Add faild and success message
This commit is contained in:
@@ -43,9 +43,7 @@ export class PublicationsService {
|
||||
let options = {
|
||||
headers: this.headers,
|
||||
};
|
||||
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
|
||||
console.log(res);
|
||||
});
|
||||
return this.http.post<any>(`${geturl}`, body, options)
|
||||
}
|
||||
|
||||
UpdatePublicationFolder(body:any){
|
||||
@@ -110,9 +108,7 @@ export class PublicationsService {
|
||||
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)
|
||||
}
|
||||
|
||||
UpdatePublication(folderId:any,body:any){
|
||||
@@ -123,9 +119,7 @@ export class PublicationsService {
|
||||
headers: this.headers,
|
||||
/* params: params */
|
||||
};
|
||||
return this.http.put<any>(`${geturl}`, body, options).toPromise().then(res =>{
|
||||
console.log(res);
|
||||
});
|
||||
return this.http.put<any>(`${geturl}`, body, options)
|
||||
}
|
||||
|
||||
DeletePublication(folderId:any,publicationId:any){
|
||||
|
||||
Reference in New Issue
Block a user