diy-template-components 2.0.108 → 2.0.109

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.
package/build/index.js CHANGED
@@ -6613,6 +6613,7 @@ const useCourseStyles = createUseStyles(theme => {
6613
6613
  });
6614
6614
 
6615
6615
  async function getCourseList(baseURLs, hashToken) {
6616
+ console.log('hash', baseURLs, hashToken);
6616
6617
  if (!hashToken) {
6617
6618
  throw 'Missing hash token';
6618
6619
  }
@@ -6627,6 +6628,7 @@ async function getCourseList(baseURLs, hashToken) {
6627
6628
  requiredFilters: '[10]'
6628
6629
  }
6629
6630
  });
6631
+ console.log('res', res);
6630
6632
  if (res) {
6631
6633
  return res.data;
6632
6634
  }
@@ -6794,6 +6796,7 @@ function courses({
6794
6796
  else setErrored(true);
6795
6797
  }
6796
6798
  }).catch(err => {
6799
+ console.log('err', err);
6797
6800
  const errMsg = err?.response?.data?.data?.message;
6798
6801
  if (errMsg === 'NOT_FOUND') {
6799
6802
  if (nodeData?.cardCarousel?.metadata?.placeholders?.length && isEdit) {