diff options
Diffstat (limited to 'client/src/app/shared/shared-video-comment/video-comment.service.ts')
-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 }[]) { |