diff options
Diffstat (limited to 'client/src/app/videos/video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index 255757692..9cedc9c76 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts | |||
@@ -158,7 +158,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
158 | this.userRating = 'like' | 158 | this.userRating = 'like' |
159 | }, | 159 | }, |
160 | 160 | ||
161 | err => this.notificationsService.error('Error', err.text) | 161 | err => this.notificationsService.error('Error', err) |
162 | ) | 162 | ) |
163 | } | 163 | } |
164 | 164 | ||
@@ -175,7 +175,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
175 | this.userRating = 'dislike' | 175 | this.userRating = 'dislike' |
176 | }, | 176 | }, |
177 | 177 | ||
178 | err => this.notificationsService.error('Error', err.text) | 178 | err => this.notificationsService.error('Error', err) |
179 | ) | 179 | ) |
180 | } | 180 | } |
181 | 181 | ||
@@ -275,7 +275,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
275 | } | 275 | } |
276 | }, | 276 | }, |
277 | 277 | ||
278 | err => this.notificationsService.error('Error', err.text) | 278 | err => this.notificationsService.error('Error', err) |
279 | ) | 279 | ) |
280 | } | 280 | } |
281 | 281 | ||