mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
Pass headers straight into the headers parameter
Co-authored-by: James Cook <jamesatjaminit@jaminit.co.uk>
This commit is contained in:
parent
b37e3dc94b
commit
729ad82de6
1 changed files with 0 additions and 1 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue