aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tau/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/tau/api')
-rw-r--r--src/backend/tau/api/items.clj8
-rw-r--r--src/backend/tau/api/streams.clj2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/tau/api/items.clj b/src/backend/tau/api/items.clj
index e251330..676af3e 100644
--- a/src/backend/tau/api/items.clj
+++ b/src/backend/tau/api/items.clj
@@ -6,9 +6,9 @@
:url (.getUrl stream)
:name (.getName stream)
:thumbnail-url (.getThumbnailUrl stream)
- :upload-author (.getUploaderName stream)
- :upload-url (.getUploaderUrl stream)
- :upload-avatar (.getUploaderAvatarUrl stream)
+ :uploader-name (.getUploaderName stream)
+ :uploader-url (.getUploaderUrl stream)
+ :uploader-avatar (.getUploaderAvatarUrl stream)
:upload-date (.getTextualUploadDate stream)
:short-description (.getShortDescription stream)
:duration (.getDuration stream)
@@ -35,7 +35,7 @@
:url (.getUrl playlist)
:name (.getName playlist)
:thumbnail-url (.getThumbnailUrl playlist)
- :upload-author (.getUploaderName playlist)
+ :uploader-name (.getUploaderName playlist)
:stream-count (when-not (= (.getStreamCount playlist) -1) (.getStreamCount playlist))})
(defn get-items
diff --git a/src/backend/tau/api/streams.clj b/src/backend/tau/api/streams.clj
index 46d8008..e1bd637 100644
--- a/src/backend/tau/api/streams.clj
+++ b/src/backend/tau/api/streams.clj
@@ -16,7 +16,7 @@
:url (.getUrl info)
:description (.. info (getDescription) (getContent))
:upload-date (.getTextualUploadDate info)
- :uploader-author (.getUploaderName info)
+ :uploader-name (.getUploaderName info)
:uploader-url (.getUploaderUrl info)
:uploader-avatar (.getUploaderAvatarUrl info)
:uploader-verified? (.isUploaderVerified info)