We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80e5b21 commit ebf040fCopy full SHA for ebf040f
src/thunderbird_accounts/subscription/views.py
@@ -244,7 +244,7 @@ def get_subscription_plan_info(request: Request):
244
stalwart_client = MailClient()
245
account = stalwart_client.get_account(request.user.stalwart_primary_email)
246
quota = account.get('quota', 0)
247
- used_quota = account.get('used_quota', 0)
+ used_quota = account.get('usedQuota', 0)
248
except Exception as e:
249
logging.error(f'Error getting used quota: {e}')
250
return JsonResponse({'success': False, 'error': 'Error getting mail storage used quota'}, status=500)
0 commit comments