Skip to content

Commit

Permalink
Fix pagination up to 100 markers
Browse files Browse the repository at this point in the history
  • Loading branch information
t3dotgg committed Mar 7, 2024
1 parent 9402579 commit 6e8bf2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/twitch-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const getVodWithMarkers = async (vodId: string, token: string) => {
const tokenForMarkers = await getValidTokenForCreator(creatorName);

const markersResponse = await fetch(
`https://api.twitch.tv/helix/streams/markers?video_id=${vodId}`,
`https://api.twitch.tv/helix/streams/markers?video_id=${vodId}&first=100`,
{
method: "GET",
headers: generateTwitchRequestHeaders(tokenForMarkers),
Expand Down

0 comments on commit 6e8bf2d

Please sign in to comment.