SparkPost/elixir-sparkpost

"Resource not found" when previewing template

Closed this issue · 1 comments

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.

A swing and a miss. Seems this was a duplicate of #31