remotes/1693045480750635534/spooky-22
Aevann1 2021-07-24 20:24:48 +02:00
parent b2e1305871
commit d154b46082
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ def api_flag_post(pid, v):
if existing:
return "", 409
reason = request.form.get("reason", "")[:100].strip()
print(reason)
flag = Flag(post_id=post.id,
user_id=v.id,
reason=reason,

View File

@ -263,6 +263,7 @@
submitbutton=document.getElementById("reportPostButton");
reason=document.getElementById("reason").value;
console.log(reason)
submitbutton.onclick = function() {