tickera-angular-components 0.0.1-dev.113 → 0.0.1-dev.114
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.
|
@@ -3981,14 +3981,9 @@ class VipCardService {
|
|
|
3981
3981
|
recharge(data) {
|
|
3982
3982
|
return this.apiService.post(VIP_CARDS_API_ROUTES.recharge, data);
|
|
3983
3983
|
}
|
|
3984
|
-
fetchAll(
|
|
3985
|
-
const
|
|
3986
|
-
|
|
3987
|
-
if (value !== undefined && value !== null) {
|
|
3988
|
-
searchParams.append(key, String(value));
|
|
3989
|
-
}
|
|
3990
|
-
});
|
|
3991
|
-
const queryString = searchParams.toString();
|
|
3984
|
+
fetchAll(params = {}) {
|
|
3985
|
+
const queryParams = transformUrlParams(params);
|
|
3986
|
+
const queryString = queryParams.toString();
|
|
3992
3987
|
const route = `${VIP_CARDS_API_ROUTES.findAll}${queryString ? '?' + queryString : ''}`;
|
|
3993
3988
|
return this.apiService.get(route);
|
|
3994
3989
|
}
|