feat
This commit is contained in:
@ -10,6 +10,9 @@ const authBodyValidator = z.object({
|
||||
type TwitchSubscribeBody = {
|
||||
type: "channel.follow";
|
||||
version: 2;
|
||||
condition: {
|
||||
broadcaster_user_id: "1093261112",
|
||||
},
|
||||
transport: {
|
||||
method: "webhook";
|
||||
callback: string;
|
||||
@ -70,6 +73,9 @@ export const createTwitchClient = () => {
|
||||
body: JSON.stringify({
|
||||
type: "channel.follow",
|
||||
version: 2,
|
||||
condition: {
|
||||
broadcaster_user_id: '1093261112'
|
||||
},
|
||||
transport: {
|
||||
callback: "https://twitch.johncosta.tech/api/webhook",
|
||||
method: "webhook",
|
||||
|
Reference in New Issue
Block a user