diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-30 21:21:00 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-30 21:21:00 +0100 |
commit | 9166ed65ff0d2cf4783d1efeab0630b4292fce68 (patch) | |
tree | ea8d140103dbd5014ac715d5c9e96176f65556ac /src/backend/tau/api/items.clj | |
parent | 26b7abf9338e8434cb65d31b86e4407edbe1eac8 (diff) |
feat(backend): Use the same key for uploader
Diffstat (limited to 'src/backend/tau/api/items.clj')
-rw-r--r-- | src/backend/tau/api/items.clj | 8 |
1 files changed, 4 insertions, 4 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 |