aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-16 00:28:02 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-16 00:31:12 +0200
commitab75772b5ac11f03344aa97001d9e03521e0d9d0 (patch)
tree6b3e3a5e1b34f3ea1eb52b9a170ea87027e757c9 /src/backend
parent6aa62872b8cdc1907e7e720dd69df6489086e210 (diff)
feat: simplify events for setting the service styles
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]