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

This commit is contained in:
Simple_Not 2023-07-13 22:02:19 +10:00
parent ec724d0c18
commit 12cfadab19

2
app.py
View File

@ -79,7 +79,7 @@ def post_a_post(post_key):
'texto': 'next post is this', 'texto': 'next post is this',
}, overwrite_mode='update') }, overwrite_mode='update')
db.collection('posts').insert({ db.collection('post_parents').insert({
'_key': post_key, '_key': post_key,
'_from': f'posts/post_key', '_from': f'posts/post_key',
'_to': f'posts/{metadata["_key"]}' '_to': f'posts/{metadata["_key"]}'