From cebc415b012177b1438265d016da2bd67ad31001 Mon Sep 17 00:00:00 2001 From: Veloi <85405932+veloii@users.noreply.github.com> Date: Mon, 18 Sep 2023 17:58:17 +0100 Subject: [PATCH] Update src/core/baseClient.ts Co-authored-by: James Cook --- src/core/baseClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/baseClient.ts b/src/core/baseClient.ts index 9f863d8..0f040d0 100644 --- a/src/core/baseClient.ts +++ b/src/core/baseClient.ts @@ -343,7 +343,7 @@ export class BaseClient { async getPupilFields(): Promise { return ( await this.makeAuthedRequest( - this.API_BASE + "/apiv2student/customfields" + this.studentId, + this.API_BASE + "/apiv2student/customfields/" + this.studentId, { method: "GET" }