Skip to content

Commit

Permalink
Don't send reqs as a JSON string
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Oct 24, 2024
1 parent 0f5a8f4 commit 08e0cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ export const actions: {[k: string]: QueryHandler} = {
await smogonFetch("tools/api/suspect-create", "POST", {
url: params.url,
date: start + "",
reqs: JSON.stringify(reqs),
reqs,
format: id,
});
} catch (e: any) {
Expand Down

0 comments on commit 08e0cab

Please sign in to comment.