sk-front-lib 0.17.2 → 0.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -598,13 +598,13 @@ class SkProductService {
|
|
|
598
598
|
return this._apiService.delete(`/api/admin/product-series/${id}`).pipe(map(response => response.data));
|
|
599
599
|
}
|
|
600
600
|
getAdminPublish(productId) {
|
|
601
|
-
return this._apiService.get(`/api/admin/${productId}/publish`).pipe(map(response => response.data));
|
|
601
|
+
return this._apiService.get(`/api/admin/product/${productId}/publish`).pipe(map(response => response.data));
|
|
602
602
|
}
|
|
603
603
|
createAdminPublish(productId, data) {
|
|
604
|
-
return this._apiService.post(`/api/admin/${productId}/publish`, data).pipe(map(response => response.data));
|
|
604
|
+
return this._apiService.post(`/api/admin/product/${productId}/publish`, data).pipe(map(response => response.data));
|
|
605
605
|
}
|
|
606
606
|
updateAdminPublish(productId, data) {
|
|
607
|
-
return this._apiService.put(`/api/admin/${productId}/publish`, data).pipe(map(response => response.data));
|
|
607
|
+
return this._apiService.put(`/api/admin/product/${productId}/publish`, data).pipe(map(response => response.data));
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
610
|
SkProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkProductService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|