mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 19:59:37 +00:00
Fix unnecessary this
Co-authored-by: James Cook <jamesatjaminit@jaminit.co.uk>
This commit is contained in:
parent
5803088d92
commit
58b75690e5
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ export class ParentClient extends BaseClient {
|
|||
* @param new New password
|
||||
* @returns Whether the request was successful
|
||||
*/
|
||||
async changePassword(this: ParentClient, current: string, newPassword: string): Promise<ChangePasswordResponse>{
|
||||
async changePassword(currentPassword: string, newPassword: string): Promise<ChangePasswordResponse> {
|
||||
const formData = new URLSearchParams();
|
||||
formData.append("current", current);
|
||||
formData.append("new", newPassword);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue