From d8ee61bfab6fc03a4fac28c02dd8cac5cdd7d334 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 31 Dec 2022 14:31:38 -0600 Subject: [PATCH] Update:Personalized API endpoint include query string to add rssFeed to entities --- .../components/app/BookShelfCategorized.vue | 4 +- client/pages/library/_library/index.vue | 4 +- server/controllers/LibraryController.js | 11 +++-- server/utils/libraryHelpers.js | 42 ++++++++++++------- 4 files changed, 38 insertions(+), 23 deletions(-) diff --git a/client/components/app/BookShelfCategorized.vue b/client/components/app/BookShelfCategorized.vue index 52f37540..bb617086 100644 --- a/client/components/app/BookShelfCategorized.vue +++ b/client/components/app/BookShelfCategorized.vue @@ -167,8 +167,8 @@ export default { this.loaded = true }, async fetchCategories() { - var categories = await this.$axios - .$get(`/api/libraries/${this.currentLibraryId}/personalized`) + const categories = await this.$axios + .$get(`/api/libraries/${this.currentLibraryId}/personalized?include=rssfeed`) .then((data) => { return data }) diff --git a/client/pages/library/_library/index.vue b/client/pages/library/_library/index.vue index 6b50405c..f235028c 100644 --- a/client/pages/library/_library/index.vue +++ b/client/pages/library/_library/index.vue @@ -8,8 +8,8 @@