diff --git a/space/core/services/cycle.service.ts b/space/core/services/cycle.service.ts index a556800f8..6df75ebde 100644 --- a/space/core/services/cycle.service.ts +++ b/space/core/services/cycle.service.ts @@ -8,7 +8,7 @@ export class CycleService extends APIService { } async getCycles(anchor: string): Promise { - return this.get(`api/public/anchor/${anchor}/cycles/`) + return this.get(`/api/public/anchor/${anchor}/cycles/`) .then((response) => response?.data) .catch((error) => { throw error?.response?.data; diff --git a/space/core/services/label.service.ts b/space/core/services/label.service.ts index 086215c0d..2a2ee5ad9 100644 --- a/space/core/services/label.service.ts +++ b/space/core/services/label.service.ts @@ -8,7 +8,7 @@ export class LabelService extends APIService { } async getLabels(anchor: string): Promise { - return this.get(`api/public/anchor/${anchor}/labels/`) + return this.get(`/api/public/anchor/${anchor}/labels/`) .then((response) => response?.data) .catch((error) => { throw error?.response?.data; diff --git a/space/core/services/member.service.ts b/space/core/services/member.service.ts index 1c4758e42..02cd1f776 100644 --- a/space/core/services/member.service.ts +++ b/space/core/services/member.service.ts @@ -8,7 +8,7 @@ export class MemberService extends APIService { } async getAnchorMembers(anchor: string): Promise { - return this.get(`api/public/anchor/${anchor}/members/`) + return this.get(`/api/public/anchor/${anchor}/members/`) .then((response) => response?.data) .catch((error) => { throw error?.response?.data; diff --git a/space/core/services/module.service.ts b/space/core/services/module.service.ts index 153f3f67c..f89202b6b 100644 --- a/space/core/services/module.service.ts +++ b/space/core/services/module.service.ts @@ -8,7 +8,7 @@ export class ModuleService extends APIService { } async getModules(anchor: string): Promise { - return this.get(`api/public/anchor/${anchor}/modules/`) + return this.get(`/api/public/anchor/${anchor}/modules/`) .then((response) => response?.data) .catch((error) => { throw error?.response?.data; diff --git a/space/core/services/state.service.ts b/space/core/services/state.service.ts index e2124675b..153f96528 100644 --- a/space/core/services/state.service.ts +++ b/space/core/services/state.service.ts @@ -8,7 +8,7 @@ export class StateService extends APIService { } async getStates(anchor: string): Promise { - return this.get(`api/public/anchor/${anchor}/states/`) + return this.get(`/api/public/anchor/${anchor}/states/`) .then((response) => response?.data) .catch((error) => { throw error?.response?.data;