diff --git a/dmp-frontend/src/app/dmps/dmp.component.ts b/dmp-frontend/src/app/dmps/dmp.component.ts index 0f794032e..75b466e34 100644 --- a/dmp-frontend/src/app/dmps/dmp.component.ts +++ b/dmp-frontend/src/app/dmps/dmp.component.ts @@ -133,7 +133,7 @@ myFunction() { SaveNewDmp(){ console.log(this.dmp, this.dmp.projectsDropDownKey); //this.http.post('http://someurl', JSON.stringify(this.project)) - this.serverService.createDmpForProject(this.dmp, this.dmp.projectsDropDownKey) + this.serverService.createDmpForProject(this.dmp) .subscribe( response =>{ console.log("response"); diff --git a/dmp-frontend/src/app/dmps/dmps.html b/dmp-frontend/src/app/dmps/dmps.html index 93da07a85..b8afa45cb 100644 --- a/dmp-frontend/src/app/dmps/dmps.html +++ b/dmp-frontend/src/app/dmps/dmps.html @@ -64,7 +64,7 @@