Skip to content

Commit

Permalink
Comply with phoenix 1.4 requirements of :url
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Lissner committed Feb 9, 2019
1 parent c7c24dd commit 1d9cac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/tasks/swagger.generate.ex
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ defmodule Mix.Tasks.Phx.Swagger.Generate do
end

swagger_map =
if scheme == :https do
if scheme == "https" do
Map.put_new(swagger_map, :schemes, ["https", "http"])
else
swagger_map
Expand Down

0 comments on commit 1d9cac2

Please sign in to comment.