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

fix: purchase reward count to be number or string

This commit is contained in:
Veloi 2023-09-24 12:37:01 +01:00 committed by GitHub
parent 618167a98d
commit 6e10b98517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -457,7 +457,7 @@ export type RewardsData = {
unable_to_purchase_reason: string; unable_to_purchase_reason: string;
once_per_pupil: boolean; once_per_pupil: boolean;
purchased: boolean; purchased: boolean;
purchased_count: string; purchased_count: string | number;
price_balance_difference: number; price_balance_difference: number;
}[]; }[];