check posts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-13 21:31:16 +10:00
parent 7e01cf90b5
commit 216a35734c

3
app.py
View File

@ -78,7 +78,8 @@ def post_a_post():
#### TODO проверить как-то по-умному что мы таки его добавили
metadata = postos.insert(novenkiy, overwrite_mode='update')
return render_template("i-posts.html", postos=[novenkiy])
postos = db.collection('posts')
return render_template("i-posts.html", postos=postos)
# @app.route('/post_my_file', method=['POST'])