浏览代码

api changed

VISHAL BHANUSHALI 3 月之前
父节点
当前提交
52b7c03f24

+ 1 - 1
content_quality_tool_public/templates/get-data.html

@@ -620,7 +620,7 @@ function filterProductsByCategory() {
                     $('#full-page-loader').hide();
              } else {
                 console.log('Data key not found');
-            fetch('/core/api/batch-score/', {
+            fetch('/core/api/rr-content-card/', {
                 method: 'GET', // or 'POST' if your API expects POST
                 headers: {
                     'X-CSRFToken': document.querySelector('[name=csrfmiddlewaretoken]')?.value || ''

+ 1 - 1
content_quality_tool_public/templates/product-performance-analysis.html

@@ -687,7 +687,7 @@ border-left: 5px solid #e20303; /* Green */
              } else {
                 console.log('Data key not found');
                 $('#full-page-loader').show();
-            fetch('/core/api/batch-score/', {
+            fetch('/core/api/rr-content-card/', {
                 method: 'GET', // or 'POST' if your API expects POST
                 headers: {
                     'X-CSRFToken': document.querySelector('[name=csrfmiddlewaretoken]')?.value || ''