"Resource not found" when previewing template
begedin opened this issue · 1 comments
begedin commented
Seems the url is built incorrectly in the case of Template.preview. The url is generated as
"https://api.sparkpost.com/api/v1//templates/#{id}/preview"
Note the double dash. Should be a quick fix, so I'll submit a PR.