diff options
Diffstat (limited to 'client/src/standalone')
-rw-r--r-- | client/src/standalone/videos/shared/auth-http.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/standalone/videos/shared/auth-http.ts b/client/src/standalone/videos/shared/auth-http.ts index 43af5dff4..95e3b029e 100644 --- a/client/src/standalone/videos/shared/auth-http.ts +++ b/client/src/standalone/videos/shared/auth-http.ts | |||
@@ -27,6 +27,8 @@ export class AuthHTTP { | |||
27 | } | 27 | } |
28 | 28 | ||
29 | getHeaderTokenValue () { | 29 | getHeaderTokenValue () { |
30 | if (!this.userOAuthTokens) return null | ||
31 | |||
30 | return `${this.userOAuthTokens.tokenType} ${this.userOAuthTokens.accessToken}` | 32 | return `${this.userOAuthTokens.tokenType} ${this.userOAuthTokens.accessToken}` |
31 | } | 33 | } |
32 | 34 | ||