We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c79c8d1 + 00f21d8 commit 8a6d29aCopy full SHA for 8a6d29a
lib/template.ex
@@ -40,7 +40,7 @@ defmodule SparkPost.Template do
40
end
41
body = %{substitution_data: substitution_data}
42
:post
43
- |> Endpoint.request("/templates/#{template.template_id}/preview#{qs}", body)
+ |> Endpoint.request("templates/#{template.template_id}/preview#{qs}", body)
44
|> Endpoint.marshal_response(SparkPost.Content.Inline)
45
|> SparkPost.Content.Inline.convert_from_field
46
0 commit comments