stape-io/tiktok-tag

If eventData.items is not defined, content_type should not be set

koconnor3 opened this issue · 0 comments

if items are not defined, the template is still setting content_type to 'product', which causes a warning in the UI:
image

should add a truthy check for eventData.items before setting content_type to 'product' to avoid this issue.