From 2a0ffdb8ef364cf38850997e5114fc4a37fe4a9d Mon Sep 17 00:00:00 2001 From: Veloi <85405932+veloii@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:59:13 +0100 Subject: [PATCH] Update studentClient.ts --- src/core/studentClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/studentClient.ts b/src/core/studentClient.ts index 59bc834..1af9311 100644 --- a/src/core/studentClient.ts +++ b/src/core/studentClient.ts @@ -78,7 +78,7 @@ export class StudentClient extends BaseClient { * @param itemId number * @returns An object containg balence and id */ - async purchasePurchase(itemId: number): Promise { + async purchaseReward(itemId: number): Promise { return ( await this.makeAuthedRequest( this.API_BASE + "/purchase/" + itemId,