This commit is contained in:
tiago.kayaya
2021-06-30 15:48:37 +01:00
parent 7fe0308b27
commit 28c483ff0b
5 changed files with 54 additions and 20 deletions
+3 -7
View File
@@ -58,15 +58,11 @@ export class PublicationsService {
});
}
DeletePublicationFolderById(id:any){
const geturl = environment.apiURL + 'presidentialActions';
let params = new HttpParams();
params = params.set("id", id);
DeletePresidentialAction(id:any){
const geturl = environment.apiURL + 'presidentialActions/'+id;
let options = {
headers: this.headers,
params: params
};
return this.http.delete<any>(`${geturl}`, options);
}