Skip to content

Commit

Permalink
Revert "preview url limit"
Browse files Browse the repository at this point in the history
This reverts commit a3a7926.
  • Loading branch information
Feverqwe committed Dec 1, 2023
1 parent a3a7926 commit bbeec32
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/services/twitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ class Twitch implements ServiceInterface {
stream.thumbnail_url.replace('{width}', '1920').replace('{height}', '1080'),
];

const len = JSON.stringify(previews).length;
if (len > 1024) {
throw new Error('Preview payload too big');
}

let id: number | string = stream.id;
let channelId: number | string = stream.user_id;
// fallback api v3
Expand Down

0 comments on commit bbeec32

Please sign in to comment.