fix
This commit is contained in:
@ -51,7 +51,8 @@ export const createTwitchClient = () => {
|
||||
`?response_type=code` +
|
||||
`&client_id=${TWITCH_APP_CLIENT_ID}` +
|
||||
`&redirect_uri=${encodeURIComponent("https://twitch.johncosta.tech/redirect")}` +
|
||||
`&scope=moderator:read:followers`
|
||||
`&scope=moderator:read:followers` +
|
||||
`&state=mkldsamkldsamkldsamkldsa`
|
||||
|
||||
|
||||
const twitchAuthResponse =
|
||||
@ -67,7 +68,6 @@ export const createTwitchClient = () => {
|
||||
|
||||
|
||||
const json = await twitchAuthResponse.json();
|
||||
console.log(json)
|
||||
const { access_token } = authBodyValidator.parse(
|
||||
json,
|
||||
);
|
||||
|
Reference in New Issue
Block a user