fix(cdp): use icon url for template sha (#34446)

This commit is contained in:
Marcus Hof
2025-07-02 10:12:03 +02:00
committed by GitHub
parent 582e27f57d
commit 70be666442

View File

@@ -247,6 +247,7 @@ class HogFunctionTemplate(UUIDModel):
if dataclass_template.mapping_templates
else None,
"filters": dataclass_template.filters,
"icon_url": dataclass_template.icon_url,
}
content_for_hash = json.dumps(template_dict, sort_keys=True)
sha = cls.generate_sha_from_content(content_for_hash)