aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-14 11:58:25 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-14 11:58:25 +0200
commit03b40f24878e4ceef19c9a8a7539f59061f31c84 (patch)
tree41fad6ed28c42c2a3790f036d9c86488f10bc433 /client/src/app/videos
parentd592e0a9b2931c7c9cbedb27fb8efc9aaacad9bb (diff)
downloadPeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.tar.gz
PeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.tar.zst
PeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.zip
err.text -> err
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/video-watch/video-report.component.ts2
-rw-r--r--client/src/app/videos/video-watch/video-watch.component.ts6
2 files changed, 4 insertions, 4 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 61213cd68..a5758060d 100644
--- a/client/src/app/videos/video-watch/video-report.component.ts
+++ b/client/src/app/videos/video-watch/video-report.component.ts
@@ -63,7 +63,7 @@ export class VideoReportComponent extends FormReactive implements OnInit {
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)
67 ) 67 )
68 } 68 }
69} 69}
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