mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
Update studentClient.ts
This commit is contained in:
parent
8b0ad3667d
commit
a5c94bf8f9
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ export class StudentClient extends BaseClient {
|
||||||
* @param itemId number
|
* @param itemId number
|
||||||
* @returns An object containg balence and id
|
* @returns An object containg balence and id
|
||||||
*/
|
*/
|
||||||
async postRewardPurchase(itemId: number): Promise<RewardPurchaseResponse> {
|
async purchasePurchase(itemId: number): Promise<RewardPurchaseResponse> {
|
||||||
return (
|
return (
|
||||||
await this.makeAuthedRequest(
|
await this.makeAuthedRequest(
|
||||||
this.API_BASE + "/purchase/" + itemId,
|
this.API_BASE + "/purchase/" + itemId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue