Fixed bug where uploaded image didn't had a primary variant
This commit is contained in:
@@ -91,6 +91,7 @@ def upload(request):
|
|||||||
file_type=file_extension,
|
file_type=file_extension,
|
||||||
is_full_size=True,
|
is_full_size=True,
|
||||||
available=True,
|
available=True,
|
||||||
|
is_primary_variant=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
bucket.upload_fileobj(
|
bucket.upload_fileobj(
|
||||||
|
Reference in New Issue
Block a user