Skip to content

Commit

Permalink
Merge branch 'master-ci' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 15, 2022
2 parents d23d09e + 9d6638d commit a4f82b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bb_vm/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def brick_play(request):

response_data = {}
# Prevent starting VM if user has unpaid blance and 3+ strikes.
if profile.strikes >= 3 and tracker.cycle_total > 0:
if profile.strikes >= 3 and int(tracker.cycle_total) > 0:
response_data['error'] = "Unpaid balance, update payment method to avoid interuptions."
return JsonResponse(response_data, status=200, safe=False)

Expand Down

0 comments on commit a4f82b2

Please sign in to comment.