diff --git a/modules/sync/sync/__init__.py b/modules/sync/sync/__init__.py index 7aa6cfad..572ed51c 100644 --- a/modules/sync/sync/__init__.py +++ b/modules/sync/sync/__init__.py @@ -79,6 +79,7 @@ async def create_post(provider: Provider, folder: str, md: str, sizes): title = data['caption'] if title: document.set_title(title) + await document.save() if not document: raise Exception(f'Failed to build Document {filepath}')