summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-06 15:31:40 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-06 15:31:52 +0100
commit57670b6f5a8e98c80670b0627bfad7dec7085f54 (patch)
treebd7b1bd2c8802d3f12361d9cf5ebfb31afb3b2ae /webapp
parentf1886fb200406a6433669649c4f2448904876ec2 (diff)
Update api routes name (plural nouns)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/app/services/xdsagent.service.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/src/app/services/xdsagent.service.ts b/webapp/src/app/services/xdsagent.service.ts
index fd84ccb..2ea2d5d 100644
--- a/webapp/src/app/services/xdsagent.service.ts
+++ b/webapp/src/app/services/xdsagent.service.ts
@@ -285,15 +285,15 @@ export class XDSAgentService {
}
addProject(cfg: IXDSProjectConfig): Observable<IXDSProjectConfig> {
- return this._post('/project', cfg);
+ return this._post('/projects', cfg);
}
deleteProject(id: string): Observable<IXDSProjectConfig> {
- return this._delete('/project/' + id);
+ return this._delete('/projects/' + id);
}
syncProject(id: string): Observable<string> {
- return this._post('/project/sync/' + id, {});
+ return this._post('/projects/sync/' + id, {});
}
/***