From 70be66644218920e3517463bb62b29110f9a8d49 Mon Sep 17 00:00:00 2001 From: Marcus Hof <13001502+MarconLP@users.noreply.github.com> Date: Wed, 2 Jul 2025 10:12:03 +0200 Subject: [PATCH] fix(cdp): use icon url for template sha (#34446) --- posthog/models/hog_function_template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/posthog/models/hog_function_template.py b/posthog/models/hog_function_template.py index a440ae72c5..3aab88be97 100644 --- a/posthog/models/hog_function_template.py +++ b/posthog/models/hog_function_template.py @@ -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)