Definitely pasted into the wrong function, on user profile pic delete null the highres url

remotes/1693045480750635534/spooky-22
not-a-code-cel 2021-08-08 21:20:36 -07:00
parent bc5f9913f4
commit a7a83f4a6e
1 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ def settings_images_banner(v):
@auth_required
@validate_formkey
def settings_delete_profile(v):
v.highres = None
v.profileurl = None
g.db.add(v)
return render_template("settings_profile.html", v=v,
@ -374,7 +374,7 @@ def settings_delete_profile(v):
@auth_required
@validate_formkey
def settings_delete_banner(v):
v.highres = None
v.bannerurl = None
g.db.add(v)