From 729ad82de60220ce28e66862e3d1e23b1d6fa4c7 Mon Sep 17 00:00:00 2001 From: Isaac Hatton Date: Sun, 8 Oct 2023 12:36:17 +0100 Subject: [PATCH] Pass headers straight into the headers parameter Co-authored-by: James Cook --- src/core/parentClient.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/parentClient.ts b/src/core/parentClient.ts index 65d241c..27fa8ff 100644 --- a/src/core/parentClient.ts +++ b/src/core/parentClient.ts @@ -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 (