Don't send reqs as a JSON string
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
Node.js CI / build (20.x) (push) Has been cancelled

This commit is contained in:
Mia 2024-10-24 08:54:12 -05:00
parent 0f5a8f4200
commit 08e0cabf2b

View File

@ -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) {