diff --git a/app.py b/app.py index fe00cb1..fc27d09 100644 --- a/app.py +++ b/app.py @@ -79,7 +79,7 @@ def post_a_post(post_key): 'texto': 'next post is this', }, overwrite_mode='update') - db.collection('post_parents').insert({ + metadata = db.collection('post_parents').insert({ '_key': post_key, '_from': f'posts/post_key', '_to': f'posts/{metadata["_key"]}'