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

Update studentClient.ts

This commit is contained in:
Veloi 2023-09-18 19:58:08 +01:00 committed by GitHub
parent 8b0ad3667d
commit a5c94bf8f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ export class StudentClient extends BaseClient {
* @param itemId number
* @returns An object containg balence and id
*/
async postRewardPurchase(itemId: number): Promise<RewardPurchaseResponse> {
async purchasePurchase(itemId: number): Promise<RewardPurchaseResponse> {
return (
await this.makeAuthedRequest(
this.API_BASE + "/purchase/" + itemId,