Fix prompt user to upgrade to proton account (#1116)

This commit is contained in:
Carlos Quintana 2022-06-28 12:36:21 +02:00 committed by GitHub
parent 89062edc06
commit 07b7f40371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def pricing():
"error",
)
return redirect(url_for("dashboard.index"))
proton_upgrade = partner_user.id == get_proton_partner().id
proton_upgrade = partner_user.partner_id == get_proton_partner().id
return render_template(
"dashboard/pricing.html",