From f18e153d63747e9f4aa981e031da9c88e47a1a2f Mon Sep 17 00:00:00 2001 From: zhenghaoz Date: Sat, 21 Dec 2024 01:55:04 +0800 Subject: [PATCH] Fix non-personalized recommendation dashboard API endpoint --- src/components/common/CategorizedItems.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/CategorizedItems.vue b/src/components/common/CategorizedItems.vue index e7df444..01dbd66 100644 --- a/src/components/common/CategorizedItems.vue +++ b/src/components/common/CategorizedItems.vue @@ -130,7 +130,7 @@ export default { }, changeRecommender(value) { this.recommender = value; - axios.get(`/api/non-personalized/${value}/`, { + axios.get(`/api/dashboard/non-personalized/${value}/`, { params: { category: this.category, end: this.cacheSize, @@ -142,7 +142,7 @@ export default { }, changeCategory(value) { this.category = value; - axios.get('/api/non-personalized/popular/', { + axios.get('/api/dashboard/non-personalized/popular/', { params: { category: value, end: this.cacheSize,