1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 03:56:59 +00:00

fix: parent login request manual

This commit is contained in:
James Cook 2023-09-16 18:57:22 +01:00
parent d39eda7bf3
commit 754b9a79d4

View file

@ -39,7 +39,7 @@ export class ParentClient extends BaseClient {
method: "POST",
body: formData,
headers: headers,
credentials: undefined,
redirect: "manual",
});
if (response.status != 302 || !response.headers.has("set-cookie")) {
throw new Error(