sync wrong document fix
This commit is contained in:
1 parent
8cbe9a695c
commit
207233125d
1 file changed
+1
@@ -79,6 +79,7 @@ async def create_post(provider: Provider, folder: str, md: str, sizes):
|
|||||||
title = data['caption']
|
title = data['caption']
|
||||||
if title:
|
if title:
|
||||||
document.set_title(title)
|
document.set_title(title)
|
||||||
|
await document.save()
|
||||||
|
|
||||||
if not document:
|
if not document:
|
||||||
raise Exception(f'Failed to build Document {filepath}')
|
raise Exception(f'Failed to build Document {filepath}')
|
||||||
|
|||||||
Reference in new issue
Block a user