Skip to content

Commit

Permalink
[server] Fix network connections not limited
Browse files Browse the repository at this point in the history
  • Loading branch information
Furisto authored and roboquat committed Oct 5, 2022
1 parent 7ae61cd commit f9089ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class EntitlementServiceChargebee implements EntitlementService {
* @param user
*/
async limitNetworkConnections(user: User, date: Date = new Date()): Promise<boolean> {
const hasPaidPlan = this.hasPaidSubscription(user, date);
const hasPaidPlan = await this.hasPaidSubscription(user, date);
return !hasPaidPlan;
}

Expand Down

0 comments on commit f9089ab

Please sign in to comment.