[ADN] Fix DE only streams
This commit is contained in:
parent
35777ecb58
commit
64272b7689
1 changed files with 2 additions and 1 deletions
3
adn.ts
3
adn.ts
|
|
@ -458,7 +458,8 @@ export default class AnimationDigitalNetwork implements ServiceClass {
|
||||||
|
|
||||||
const configReq = await this.req.getData(`https://gw.api.animationdigitalnetwork.fr/player/video/${data.id}/configuration`, {
|
const configReq = await this.req.getData(`https://gw.api.animationdigitalnetwork.fr/player/video/${data.id}/configuration`, {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${this.token.accessToken}`
|
Authorization: `Bearer ${this.token.accessToken}`,
|
||||||
|
'X-Target-Distribution': this.locale
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(!configReq.ok || !configReq.res){
|
if(!configReq.ok || !configReq.res){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue