vanilli-shop-client
Advanced tools
Comparing version 1.5.8 to 1.5.9
@@ -63,3 +63,3 @@ "use strict"; | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
_this.endpoint = _this.RootEndpoint + "/categories?active=true"; | ||
_this.endpoint = _this.RootEndpoint + "/categories"; | ||
return _this; | ||
@@ -70,3 +70,3 @@ } | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, axios_1.default.get(this.endpoint)]; | ||
return [2 /*return*/, axios_1.default.get(this.endpoint + "?active=true")]; | ||
}); | ||
@@ -73,0 +73,0 @@ }); |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.5.8", | ||
"version": "1.5.9", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,6 +5,6 @@ import RootApi from "./root-api"; | ||
export default class CategoryApi extends RootApi { | ||
private readonly endpoint = `${this.RootEndpoint}/categories?active=true`; | ||
private readonly endpoint = `${this.RootEndpoint}/categories`; | ||
async getCategories(): Promise<AxiosResponse> { | ||
return Axios.get(this.endpoint); | ||
return Axios.get(`${this.endpoint}?active=true`); | ||
} | ||
@@ -11,0 +11,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
264734