Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
younesaassila committed Dec 24, 2023
1 parent 27b596e commit f09bc1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/page/getFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function getFetch(options: FetchOptions): typeof fetch {
}

if (options.scope === "page") {
// TODO: Add rate limiting to prevent potential spam by Twitch's client.
self.addEventListener("message", async event => {
if (event.data?.type === MessageType.NewPlaybackAccessToken) {
const newPlaybackAccessToken =
Expand Down

0 comments on commit f09bc1f

Please sign in to comment.