aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-07-25 22:00:04 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-07-25 22:00:04 +0200
commit141da4b61792ff71d6ec12f85a94a4bd6368524f (patch)
treec9c19bb11e5545e6c98c1c6b190a8167015a7f72 /src
parent90286da05d508731c3916cec9a82fc8eeadea6fa (diff)
fix(backend): Fix comment text extraction
Diffstat (limited to 'src')
-rw-r--r--src/backend/tubo/api/comments.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tubo/api/comments.clj b/src/backend/tubo/api/comments.clj
index b4f03ba..7790a1a 100644
--- a/src/backend/tubo/api/comments.clj
+++ b/src/backend/tubo/api/comments.clj
@@ -12,7 +12,7 @@
(defn get-comment-item
[item extractor]
{:id (.getCommentId item)
- :text (.getCommentText item)
+ :text (.. item (getCommentText) (getContent))
:uploader-name (.getUploaderName item)
:uploader-avatar (.getUploaderAvatarUrl item)
:uploader-url (.getUploaderUrl item)