Skip to content

Commit

Permalink
Fix non-personalized recommendation dashboard API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz authored Dec 20, 2024
1 parent 282ed68 commit f18e153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/common/CategorizedItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit f18e153

Please sign in to comment.