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

Added the response value

This commit is contained in:
ChrisPhillips-cminion 2022-03-12 10:40:30 +00:00
parent ac2fbf8bc7
commit 4fca7ca5fc

View file

@ -82,7 +82,7 @@ export class ClasschartsParentClient extends ClasschartsClient {
* Get Pupil details * Get Pupil details
* @returns an array fo Pupils connected to this parent's account * @returns an array fo Pupils connected to this parent's account
*/ */
async getPupils(): Promise<ActivityResponse> { async getPupils(): Promise<Object> {
let pupils = this.makeAuthedRequest( let pupils = this.makeAuthedRequest(
this.API_BASE + "/pupils", this.API_BASE + "/pupils",
{ {