diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-18 11:37:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-18 11:37:29 +0100 |
commit | e8bffe9690307f2686ed5573cae2b86ee5f57789 (patch) | |
tree | e6268124e5e9c22eb465d94ad638ed8443bc9743 /client/src/app/shared/shared-video-comment | |
parent | c1f7a737cfe174ff1648f269a62540826d0e8089 (diff) | |
download | PeerTube-e8bffe9690307f2686ed5573cae2b86ee5f57789.tar.gz PeerTube-e8bffe9690307f2686ed5573cae2b86ee5f57789.tar.zst PeerTube-e8bffe9690307f2686ed5573cae2b86ee5f57789.zip |
Remove unnecessary function
Diffstat (limited to 'client/src/app/shared/shared-video-comment')
-rw-r--r-- | client/src/app/shared/shared-video-comment/video-comment.service.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-video-comment/video-comment.service.ts b/client/src/app/shared/shared-video-comment/video-comment.service.ts index fd1cae7f8..6f2ef50cb 100644 --- a/client/src/app/shared/shared-video-comment/video-comment.service.ts +++ b/client/src/app/shared/shared-video-comment/video-comment.service.ts | |||
@@ -114,10 +114,7 @@ export class VideoCommentService { | |||
114 | 114 | ||
115 | return this.authHttp | 115 | return this.authHttp |
116 | .delete(url) | 116 | .delete(url) |
117 | .pipe( | 117 | .pipe(catchError(err => this.restExtractor.handleError(err))) |
118 | map(this.restExtractor.extractDataBool), | ||
119 | catchError(err => this.restExtractor.handleError(err)) | ||
120 | ) | ||
121 | } | 118 | } |
122 | 119 | ||
123 | deleteVideoComments (comments: { videoId: number | string, commentId: number }[]) { | 120 | deleteVideoComments (comments: { videoId: number | string, commentId: number }[]) { |