This commit is contained in:
Aevann1 2022-02-01 02:07:15 +02:00
parent f907260ab2
commit 76c72b501b
3 changed files with 6 additions and 5 deletions

View file

@ -295,7 +295,7 @@ def submit_contact(v):
body_html += f"<p>{url}</p>"
else: return {"error": "Image/Video files only"}, 400
send_admin(v.id, body_html, v.id)
send_admin(v.id, body_html)
g.db.commit()
return render_template("contact.html", v=v, msg="Your message has been sent.")