On some templates, Postmark's API returns a null value on the TextBody if there's no content. It should return an empty string, so I'll report this to the backend team. This occasionally causes a type error when running postmark templates pull, so I've updated the conditional here to check this before saving the text version.
Hey @tomek-ac,
On some templates, Postmark's API returns a
null
value on theTextBody
if there's no content. It should return an empty string, so I'll report this to the backend team. This occasionally causes a type error when runningpostmark templates pull
, so I've updated the conditional here to check this before saving the text version.Related: #48