aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_services
diff options
context:
space:
mode:
authorDanijel Anđelković <adanijel99@gmail.com>2022-05-04 18:17:41 +0200
committerDanijel Anđelković <adanijel99@gmail.com>2022-05-04 18:17:41 +0200
commit87ac1232664b577fcd5d393226522a27ef11e7df (patch)
tree7f9c0517830f863b333a624ecc599e2a802ecf52 /frontend/src/app/_services
parentc746191b225f3e59f4b7b0cee6a01c2e5bf00271 (diff)
parentb13d6eadd63998f96ce78c3ac55f11564f3d9958 (diff)
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'frontend/src/app/_services')
-rw-r--r--frontend/src/app/_services/experiments.service.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/app/_services/experiments.service.ts b/frontend/src/app/_services/experiments.service.ts
index ce112498..29569fca 100644
--- a/frontend/src/app/_services/experiments.service.ts
+++ b/frontend/src/app/_services/experiments.service.ts
@@ -20,7 +20,7 @@ export class ExperimentsService {
return this.http.get<Experiment[]>(`${Configuration.settings.apiURL}/experiment/getmyexperiments`, { headers: this.authService.authHeader() });
}
- /*updateExperiment(){
-
- }*/
+ updateExperiment(experiment: Experiment): Observable<Experiment> {
+ return this.http.put<Experiment>(`${Configuration.settings.apiURL}/experiment/` + experiment._id, experiment, { headers: this.authService.authHeader() });
+ }
}