diff --git a/src/core/baseClient.ts b/src/core/baseClient.ts index ffcee89..9f863d8 100644 --- a/src/core/baseClient.ts +++ b/src/core/baseClient.ts @@ -327,7 +327,7 @@ export class BaseClient { async postRewardPurchase(itemId: number): Promise { return ( await this.makeAuthedRequest( - this.API_BASE + "/purchase" + itemId, + this.API_BASE + "/purchase/" + itemId, { method: "POST", body: `pupil_id=${this.studentId}`