sync image artifact generation simplified: upload only original image

This commit is contained in:
tmshv committed 2020-03-11 13:37:44 +03:00
1 parent 877c63a874
commit a4d245007e
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ async def create_post(provider: Provider, folder: str, md: str, sizes):
text = data['caption'] if data['caption'] else data['file']
url = f'/document/{document.id}'
image_url = document.preview.get_size('small')['url']
image_url = document.preview.get_src()
return {
'url': url,