Ændringer så prototype passer til 213eec1813

This commit is contained in:
Mikkel committed 2022-06-02 16:23:55 +02:00
1 parent 83ca3fdf1b
commit a405cf772d
8 files changed
+58 -80

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ def show(thread_id):
form = SendMessageForm()
if form.validate_on_submit():
insert_message(form.besked.data, thread_id, current_user.user_id)
insert_message(form.besked.data, thread_id, current_user.cpr_num)
return redirect(f"/threads/{thread_id}")
return render_template("thread_show.html", thread=thread, messages=thread.get_messages(), form=form)