Skip to content

Commit

Permalink
fix(setTags): use broadcaster token
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Oct 18, 2021
1 parent 1f017b8 commit 992e29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/microservices/setTags.ts
Expand Up @@ -34,9 +34,9 @@ async function setTags (tagsArg: string[]) {
url,
data: { tag_ids },
headers: {
'Authorization': 'Bearer ' + await getToken('bot'),
'Authorization': 'Bearer ' + await getToken('broadcaster'),
'Content-Type': 'application/json',
'Client-ID': await getClientId('bot'),
'Client-ID': await getClientId('broadcaster'),
},
});
// save remaining api calls
Expand Down

0 comments on commit 992e29e

Please sign in to comment.