mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-04 04:21:20 +02:00
Fix channel URL in comments API.
This commit is contained in:
parent
98dfda8824
commit
a2cd2baf2a
@ -377,7 +377,7 @@ public class ResponseHelper {
|
||||
info.getRelatedItems().forEach(comment -> {
|
||||
comments.add(new Comment(comment.getUploaderName(), rewriteURL(comment.getUploaderAvatarUrl()),
|
||||
comment.getCommentId(), comment.getCommentText(), comment.getTextualUploadDate(),
|
||||
comment.getUploaderUrl().substring(23), comment.getLikeCount(), comment.isHeartedByUploader(),
|
||||
comment.getUploaderUrl().substring(19), comment.getLikeCount(), comment.isHeartedByUploader(),
|
||||
comment.isPinned(), comment.isUploaderVerified()));
|
||||
});
|
||||
|
||||
@ -403,7 +403,7 @@ public class ResponseHelper {
|
||||
info.getItems().forEach(comment -> {
|
||||
comments.add(new Comment(comment.getUploaderName(), rewriteURL(comment.getUploaderAvatarUrl()),
|
||||
comment.getCommentId(), comment.getCommentText(), comment.getTextualUploadDate(),
|
||||
comment.getUploaderUrl().substring(23), comment.getLikeCount(), comment.isHeartedByUploader(),
|
||||
comment.getUploaderUrl().substring(19), comment.getLikeCount(), comment.isHeartedByUploader(),
|
||||
comment.isPinned(), comment.isUploaderVerified()));
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user