aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/tubo/api/services.clj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/tubo/api/services.clj b/src/backend/tubo/api/services.clj
index 0bc44af..ab1a655 100644
--- a/src/backend/tubo/api/services.clj
+++ b/src/backend/tubo/api/services.clj
@@ -21,6 +21,7 @@
info (SearchInfo/getInfo service query-handler)]
{:items (items/get-items (.getRelatedItems info))
:next-page (j/from-java (.getNextPage info))
+ :service-id service-id
:search-suggestion (.getSearchSuggestion info)
:corrected-search? (.isCorrectedSearch info)}))
([service-id query content-filters sort-filter page-url]
@@ -41,6 +42,7 @@
info (KioskInfo/getInfo extractor)]
{:id (.getId info)
:url (.getUrl info)
+ :service-id service-id
:next-page (j/from-java (.getNextPage info))
:related-streams (items/get-items (.getRelatedItems info))}))
([kiosk-id service-id]
@@ -50,6 +52,7 @@
info (KioskInfo/getInfo extractor)]
{:id (.getId info)
:url (.getUrl info)
+ :service-id service-id
:next-page (j/from-java (.getNextPage info))
:related-streams (items/get-items (.getRelatedItems info))}))
([kiosk-id service-id page-url]