we can chat now?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-19 00:34:30 +10:00
parent a622768a13
commit d97035a32b

2
app.py
View File

@ -64,7 +64,7 @@ def page_posts_from_db(target_post_id=None):
return render_template("interactive-posts.html", host_id=docker_short_id, postos=postos, target_post_id=target_post_id)
@app.route("/answer_post/<target_post_id>")
@app.route("/answer_post/<target_post_id>", methods=['POST'])
def answer_post(target_post_id):
postos = db.collection('posts')