Skip to content

Commit

Permalink
Merge pull request #223 from bcgov/fix/backlog-tickets-5
Browse files Browse the repository at this point in the history
fix: default route should be v4
  • Loading branch information
swcurran authored Apr 29, 2024
2 parents 0c05510 + 38e6d8d commit 9c35e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/api/resource.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default abstract class ApiResource {

protected formatEndpointUrl(path?: string): string {
let url = "/api";
if (this.baseVersion === "v2") {
if (this.baseVersion === "v4") {
url += `/${this.basePath}`;
} else {
url += `/${this.baseVersion}/${this.basePath}`;
Expand Down

0 comments on commit 9c35e3d

Please sign in to comment.