fds
This commit is contained in:
parent
8fe7a30642
commit
f907260ab2
4 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
send_admin(v.id, body_html, v.id)
|
||||
|
||||
g.db.commit()
|
||||
return render_template("contact.html", v=v, msg="Your message has been sent.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue