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.es.js +3 -0
- package/build/index.es.js.map +1 -1
- package/build/index.js +3 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -6597,6 +6597,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6597
6597
|
});
|
|
6598
6598
|
|
|
6599
6599
|
async function getCourseList(baseURLs, hashToken) {
|
|
6600
|
+
console.log('hash', baseURLs, hashToken);
|
|
6600
6601
|
if (!hashToken) {
|
|
6601
6602
|
throw 'Missing hash token';
|
|
6602
6603
|
}
|
|
@@ -6611,6 +6612,7 @@ async function getCourseList(baseURLs, hashToken) {
|
|
|
6611
6612
|
requiredFilters: '[10]'
|
|
6612
6613
|
}
|
|
6613
6614
|
});
|
|
6615
|
+
console.log('res', res);
|
|
6614
6616
|
if (res) {
|
|
6615
6617
|
return res.data;
|
|
6616
6618
|
}
|
|
@@ -6778,6 +6780,7 @@ function courses({
|
|
|
6778
6780
|
else setErrored(true);
|
|
6779
6781
|
}
|
|
6780
6782
|
}).catch(err => {
|
|
6783
|
+
console.log('err', err);
|
|
6781
6784
|
const errMsg = err?.response?.data?.data?.message;
|
|
6782
6785
|
if (errMsg === 'NOT_FOUND') {
|
|
6783
6786
|
if (nodeData?.cardCarousel?.metadata?.placeholders?.length && isEdit) {
|