diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-03 11:44:43 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-03 11:44:43 +0100 |
commit | 72aa835e170f5dfa5fb7b78d50a5d097ea194ef6 (patch) | |
tree | 899a4d50bef1f772c94f816234649c6d90b8a9b7 /client/src/standalone | |
parent | 2e1e4af03bc9ccd2470a9f293d70dc27596aae24 (diff) | |
download | PeerTube-72aa835e170f5dfa5fb7b78d50a5d097ea194ef6.tar.gz PeerTube-72aa835e170f5dfa5fb7b78d50a5d097ea194ef6.tar.zst PeerTube-72aa835e170f5dfa5fb7b78d50a5d097ea194ef6.zip |
Upgrade client dependencies
Diffstat (limited to 'client/src/standalone')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 1709d44e7..cf4bc6f03 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -88,7 +88,7 @@ export class PeerTubeEmbed { | |||
88 | .then((res: Response) => { | 88 | .then((res: Response) => { |
89 | if (res.status !== HttpStatusCode.UNAUTHORIZED_401) return res | 89 | if (res.status !== HttpStatusCode.UNAUTHORIZED_401) return res |
90 | 90 | ||
91 | const refreshingTokenPromise = new Promise((resolve, reject) => { | 91 | const refreshingTokenPromise = new Promise<void>((resolve, reject) => { |
92 | const clientId: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_ID) | 92 | const clientId: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_ID) |
93 | const clientSecret: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_SECRET) | 93 | const clientSecret: string = peertubeLocalStorage.getItem(this.LOCAL_STORAGE_OAUTH_CLIENT_KEYS.CLIENT_SECRET) |
94 | 94 | ||