1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00

feat: add changePassword parent method (#40)

This commit is contained in:
Isaac Hatton 2023-10-08 21:02:01 +01:00 committed by GitHub
parent c42dd71cdf
commit 118c384131
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View file

@ -336,3 +336,11 @@ Selects a pupil to make subsequent requests for.
```typescript
await client.selectPupil(123);
```
## `.changePassword`
Changes the parent's password.
```typescript
await client.changePassword("oldPassword", "newPassword");
```