This commit is contained in:
2025-06-30 18:47:17 +01:00
parent e5a1efe60f
commit 81b899ec59

View File

@ -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",