From a5c94bf8f962293786db5bde0857c03b771bb4ac Mon Sep 17 00:00:00 2001 From: Veloi <85405932+veloii@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:58:08 +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 3e44937..59bc834 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 postRewardPurchase(itemId: number): Promise { + async purchasePurchase(itemId: number): Promise { return ( await this.makeAuthedRequest( this.API_BASE + "/purchase/" + itemId,