Skip to content

Commit

Permalink
fix(models): added cost in credits property to Play
Browse files Browse the repository at this point in the history
  • Loading branch information
rallieon committed Apr 20, 2023
1 parent 8a395d5 commit 73d692f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/models/src/models/play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export class Play {
deleted?: boolean;
leaderboard: Leaderboard;
cost: number;
costInCredits: number;

constructor() {
this.id = '';
Expand All @@ -19,6 +20,7 @@ export class Play {
this.updatedAt = new Date();
this.leaderboard = new Leaderboard('');
this.cost = 0;
this.costInCredits = 0;
}
}

Expand Down

0 comments on commit 73d692f

Please sign in to comment.