diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-11-06 15:31:40 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-11-06 15:31:52 +0100 |
commit | 57670b6f5a8e98c80670b0627bfad7dec7085f54 (patch) | |
tree | bd7b1bd2c8802d3f12361d9cf5ebfb31afb3b2ae /webapp | |
parent | f1886fb200406a6433669649c4f2448904876ec2 (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.ts | 6 |
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, {}); } /*** |