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

Pass headers straight into the headers parameter

Co-authored-by: James Cook <jamesatjaminit@jaminit.co.uk>
This commit is contained in:
Isaac Hatton 2023-10-08 12:36:17 +01:00 committed by GitHub
parent b37e3dc94b
commit 729ad82de6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,6 @@ export class ParentClient extends BaseClient {
formData.append("current", current);
formData.append("new", newPassword);
formData.append("repeat", newPassword);
const headers = new Headers({
"Content-Type": "application/x-www-form-urlencoded",
});
return (