diff --git a/src/services/api/resource.service.ts b/src/services/api/resource.service.ts index afba534..57098c0 100644 --- a/src/services/api/resource.service.ts +++ b/src/services/api/resource.service.ts @@ -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}`;