diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-24 14:47:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-24 14:47:32 +0200 |
commit | 7c07259ae5c7b636d52b8ec103a19d31c2f5b755 (patch) | |
tree | 30e85294a11ce8356dbcc31b0f9df91a18086306 /client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts | |
parent | 978489b64c7b329cbfde5ffd7fe806702a3490c7 (diff) | |
download | PeerTube-7c07259ae5c7b636d52b8ec103a19d31c2f5b755.tar.gz PeerTube-7c07259ae5c7b636d52b8ec103a19d31c2f5b755.tar.zst PeerTube-7c07259ae5c7b636d52b8ec103a19d31c2f5b755.zip |
Fix fetching unlisted video in client
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts b/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts index 85da83a4c..b2aa4cb7b 100644 --- a/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts +++ b/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts | |||
@@ -176,12 +176,12 @@ export class VideoCommentAddComponent extends FormReactive implements OnChanges, | |||
176 | 176 | ||
177 | private addCommentReply (commentCreate: VideoCommentCreate) { | 177 | private addCommentReply (commentCreate: VideoCommentCreate) { |
178 | return this.videoCommentService | 178 | return this.videoCommentService |
179 | .addCommentReply(this.video.id, this.parentComment.id, commentCreate) | 179 | .addCommentReply(this.video.uuid, this.parentComment.id, commentCreate) |
180 | } | 180 | } |
181 | 181 | ||
182 | private addCommentThread (commentCreate: VideoCommentCreate) { | 182 | private addCommentThread (commentCreate: VideoCommentCreate) { |
183 | return this.videoCommentService | 183 | return this.videoCommentService |
184 | .addCommentThread(this.video.id, commentCreate) | 184 | .addCommentThread(this.video.uuid, commentCreate) |
185 | } | 185 | } |
186 | 186 | ||
187 | private initTextValue () { | 187 | private initTextValue () { |