Current section
29 Versions
Jump to
Current section
29 Versions
Compare versions
3
files changed
+3
additions
-3
deletions
| @@ -44,4 +44,4 @@ | |
| 44 44 | {<<"optional">>,true}, |
| 45 45 | {<<"repository">>,<<"hexpm">>}, |
| 46 46 | {<<"requirement">>,<<">= 0.0.0">>}]]}. |
| 47 | - {<<"version">>,<<"0.4.7">>}. |
| 47 | + {<<"version">>,<<"0.4.8">>}. |
| @@ -18,7 +18,7 @@ defmodule Wechat.Plugs.RequestValidator do | |
| 18 18 | %{module: module} |
| 19 19 | end |
| 20 20 | |
| 21 | - def call(conn, module) do |
| 21 | + def call(conn, %{module: module}) do |
| 22 22 | config = apply(module, :config, []) |
| 23 23 | token = Keyword.fetch!(config, :token) |
| @@ -4,7 +4,7 @@ defmodule Wechat.Mixfile do | |
| 4 4 | def project do |
| 5 5 | [ |
| 6 6 | app: :wechat, |
| 7 | - version: "0.4.7", |
| 7 | + version: "0.4.8", |
| 8 8 | elixir: "~> 1.6", |
| 9 9 | elixirc_options: [warnings_as_errors: true], |
| 10 10 | build_embedded: Mix.env() == :prod, |