aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+search/search.component.ts2
-rw-r--r--client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts2
-rw-r--r--client/src/app/core/auth/auth.service.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+search/search.component.ts b/client/src/app/+search/search.component.ts
index 62b1c4446..366fbd459 100644
--- a/client/src/app/+search/search.component.ts
+++ b/client/src/app/+search/search.component.ts
@@ -98,7 +98,7 @@ export class SearchComponent implements OnInit, OnDestroy {
98 this.search() 98 this.search()
99 }, 99 },
100 100
101 error: err => this.notifier.error(err.text) 101 error: err => this.notifier.error(err.message)
102 }) 102 })
103 103
104 this.userService.getAnonymousOrLoggedUser() 104 this.userService.getAnonymousOrLoggedUser()
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts b/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts
index fd3614297..9f4a68736 100644
--- a/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts
+++ b/client/src/app/+videos/+video-watch/shared/comment/video-comment-add.component.ts
@@ -148,7 +148,7 @@ export class VideoCommentAddComponent extends FormReactive implements OnChanges,
148 error: err => { 148 error: err => {
149 this.addingComment = false 149 this.addingComment = false
150 150
151 this.notifier.error(err.text) 151 this.notifier.error(err.message)
152 } 152 }
153 }) 153 })
154 } 154 }
diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts
index ece6bc5d1..ca46866f5 100644
--- a/client/src/app/core/auth/auth.service.ts
+++ b/client/src/app/core/auth/auth.service.ts
@@ -97,7 +97,7 @@ export class AuthService {
97 let errorMessage = err.message 97 let errorMessage = err.message
98 98
99 if (err.status === HttpStatusCode.FORBIDDEN_403) { 99 if (err.status === HttpStatusCode.FORBIDDEN_403) {
100 errorMessage = $localize`Cannot retrieve OAuth Client credentials: ${err.text}. 100 errorMessage = $localize`Cannot retrieve OAuth Client credentials: ${err.message}.
101Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.` 101Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.`
102 } 102 }
103 103