From 9166ed65ff0d2cf4783d1efeab0630b4292fce68 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Fri, 30 Dec 2022 21:21:00 +0100 Subject: feat(backend): Use the same key for uploader --- src/backend/tau/api/items.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/tau/api/items.clj') 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 -- cgit v1.2.3