Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set_field_to_true(partecipant){
- this.partecipantService.set_obtain_hard_skill_to_true(this.authenticationService,partecipant.id).then(function(result) {
- if(result["status"]=="success"){
- partecipant.field=true
- }
- console.log("bella");
- });
- console.log("ciao");
- }
- async set_obtain_hard_skill_to_true(authenticationService,id_partecipant){
- this.authenticationService=authenticationService;
- let url_request=this.authenticationService.url_application+"blbla";
- let params={tcode: "blblblbl", id: id_partecipant};
- let http_post_ajax_filter_by_tcode_and_get_eval_data64=this.http.post(url_request,params,{ headers: new HttpHeaders({"auth-token":this.authenticationService.token})});
- let data_post=await http_post_ajax_filter_by_tcode_and_get_eval_data64.toPromise();
- return data_post;
- }
Advertisement
Add Comment
Please, Sign In to add comment