diff options
Diffstat (limited to 'client/src/app/videos/video-watch')
-rw-r--r-- | client/src/app/videos/video-watch/video-report.component.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/videos/video-watch/video-report.component.ts b/client/src/app/videos/video-watch/video-report.component.ts index 19a7af148..7906fdb5c 100644 --- a/client/src/app/videos/video-watch/video-report.component.ts +++ b/client/src/app/videos/video-watch/video-report.component.ts | |||
@@ -57,13 +57,13 @@ export class VideoReportComponent extends FormReactive implements OnInit { | |||
57 | const reason = this.form.value['reason'] | 57 | const reason = this.form.value['reason'] |
58 | 58 | ||
59 | this.videoAbuseService.reportVideo(this.video.id, reason) | 59 | this.videoAbuseService.reportVideo(this.video.id, reason) |
60 | .subscribe( | 60 | .subscribe( |
61 | () => { | 61 | () => { |
62 | this.notificationsService.success('Success', 'Video reported.'); | 62 | this.notificationsService.success('Success', 'Video reported.'); |
63 | this.hide(); | 63 | this.hide(); |
64 | }, | 64 | }, |
65 | 65 | ||
66 | err => this.notificationsService.error('Error', err.text); | 66 | err => this.notificationsService.error('Error', err.text) |
67 | ) | 67 | ); |
68 | } | 68 | } |
69 | } | 69 | } |