This commit is contained in:
parent
9492835187
commit
10b0643899
4
app.py
4
app.py
@ -80,8 +80,8 @@ def post_a_post(post_key):
|
|||||||
}, overwrite_mode='update')
|
}, overwrite_mode='update')
|
||||||
|
|
||||||
metadata = db.collection('post_parents').insert({
|
metadata = 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"]}'
|
||||||
}, overwrite_mode='update')
|
}, overwrite_mode='update')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user