Skip to content

Commit

Permalink
Resolve dialyzer errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultzer committed May 24, 2020
1 parent ae73e0a commit 604e5ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Bug fixes

* [`PowEmailConfirmation.Ecto.Schema`] `PowEmailConfirmation.Ecto.Schema.changeset/3` no longer sets the email to the unconfirmed email when the same email change is set twice
* [`Pow.Extension.Phoenix.Messages`] Fixed fallback message dializer warning

## v1.0.20 (2020-04-22)

Expand Down
2 changes: 1 addition & 1 deletion lib/pow/extension/phoenix/messages.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ defmodule Pow.Extension.Phoenix.Messages do
method_name = unquote(__MODULE__).method_name(unquote(extension), method)

quote do
@spec unquote(method)(Conn.t()) :: binary()
@spec unquote(method)(Conn.t()) :: Messages.message()
def unquote(method)(conn) do
unquote(__MODULE__).unquote(method_name)(conn)
end
Expand Down

0 comments on commit 604e5ea

Please sign in to comment.