From 57670b6f5a8e98c80670b0627bfad7dec7085f54 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 6 Nov 2017 15:31:40 +0100 Subject: Update api routes name (plural nouns) Signed-off-by: Sebastien Douheret --- webapp/src/app/services/xdsagent.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webapp') 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 { - return this._post('/project', cfg); + return this._post('/projects', cfg); } deleteProject(id: string): Observable { - return this._delete('/project/' + id); + return this._delete('/projects/' + id); } syncProject(id: string): Observable { - return this._post('/project/sync/' + id, {}); + return this._post('/projects/sync/' + id, {}); } /*** -- cgit 1.2.3-korg