Skip to content

Commit

Permalink
o
Browse files Browse the repository at this point in the history
  • Loading branch information
simon300000 committed Sep 7, 2023
1 parent a13d6be commit c288373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const fetch = async (url: string) => {
return promise
}

export const dispatch = () => jobs[Math.floor(Math.random() * jobs.length)].url
export const dispatch = () => jobs[Math.floor(Math.random() * jobs.length)]?.url

export const receipt = (url: string, data: any) => {
if (data.code === 0) {
Expand Down

0 comments on commit c288373

Please sign in to comment.