@selfcommunity/react-core 0.6.7-payments.179 → 0.6.7-payments.181

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.
@@ -35,8 +35,8 @@ function useSCFetchPaymentProduct({ id = null, paymentProduct = null, cacheStrat
35
35
  const fetchPaymentProduct = (0, react_1.useMemo)(() => (id) => {
36
36
  return api_services_1.http
37
37
  .request({
38
- url: api_services_1.Endpoints.GetProduct.url({ id }),
39
- method: api_services_1.Endpoints.GetProduct.method,
38
+ url: api_services_1.Endpoints.GetPaymentProduct.url({ id }),
39
+ method: api_services_1.Endpoints.GetPaymentProduct.method,
40
40
  })
41
41
  .then((res) => {
42
42
  if (res.status >= 300) {
@@ -33,8 +33,8 @@ export default function useSCFetchPaymentProduct({ id = null, paymentProduct = n
33
33
  const fetchPaymentProduct = useMemo(() => (id) => {
34
34
  return http
35
35
  .request({
36
- url: Endpoints.GetProduct.url({ id }),
37
- method: Endpoints.GetProduct.method,
36
+ url: Endpoints.GetPaymentProduct.url({ id }),
37
+ method: Endpoints.GetPaymentProduct.method,
38
38
  })
39
39
  .then((res) => {
40
40
  if (res.status >= 300) {