From ab75772b5ac11f03344aa97001d9e03521e0d9d0 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Mon, 16 Oct 2023 00:28:02 +0200 Subject: feat: simplify events for setting the service styles --- src/backend/tubo/api/services.clj | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/backend') 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] -- cgit v1.2.3