fix: trace job imported wordcloud stickers
This commit is contained in:
@@ -34,7 +34,8 @@ def find_visible_wordcloud_sources(
|
||||
asset_id = str(element.get("assetId") or "")
|
||||
meta = load_asset_meta(asset_id)
|
||||
job_id = str(meta.get("job_id") or "")
|
||||
if meta.get("type") == "wordcloud" and job_id and job_id not in seen:
|
||||
asset_type = str(meta.get("type") or "")
|
||||
if asset_type in {"wordcloud", "sticker"} and job_id and job_id not in seen:
|
||||
seen.add(job_id)
|
||||
result.append(WordcloudSource(asset_id, job_id))
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user