Skip to content

Commit

Permalink
fix: url mismatches in space app
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramveeraghanta committed Aug 1, 2024
1 parent b381331 commit c89fe9a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion space/core/services/cycle.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class CycleService extends APIService {
}

async getCycles(anchor: string): Promise<TPublicCycle[]> {
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;
Expand Down
2 changes: 1 addition & 1 deletion space/core/services/label.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class LabelService extends APIService {
}

async getLabels(anchor: string): Promise<IIssueLabel[]> {
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;
Expand Down
2 changes: 1 addition & 1 deletion space/core/services/member.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class MemberService extends APIService {
}

async getAnchorMembers(anchor: string): Promise<TPublicMember[]> {
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;
Expand Down
2 changes: 1 addition & 1 deletion space/core/services/module.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class ModuleService extends APIService {
}

async getModules(anchor: string): Promise<TPublicModule[]> {
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;
Expand Down
2 changes: 1 addition & 1 deletion space/core/services/state.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class StateService extends APIService {
}

async getStates(anchor: string): Promise<IState[]> {
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;
Expand Down

0 comments on commit c89fe9a

Please sign in to comment.