mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
add thumbnail to asset as well
This commit is contained in:
parent
b69fd842b1
commit
bf35ee99f6
1 changed files with 5 additions and 0 deletions
|
|
@ -256,6 +256,11 @@ class StoreThumbnailsToAvalon(BaseAction):
|
|||
{"$set": {"data.thumbnail_id": thumbnail_id}}
|
||||
)
|
||||
|
||||
self.db_con.update_one(
|
||||
{"_id": avalon_asset["_id"]},
|
||||
{"$set": {"data.thumbnail_id": thumbnail_id}}
|
||||
)
|
||||
|
||||
return True
|
||||
|
||||
def get_thumbnail_url(self, resource_identifier, size=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue