mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
fix: parent login request manual
This commit is contained in:
parent
d39eda7bf3
commit
754b9a79d4
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export class ParentClient extends BaseClient {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: formData,
|
body: formData,
|
||||||
headers: headers,
|
headers: headers,
|
||||||
credentials: undefined,
|
redirect: "manual",
|
||||||
});
|
});
|
||||||
if (response.status != 302 || !response.headers.has("set-cookie")) {
|
if (response.status != 302 || !response.headers.has("set-cookie")) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue