Skip to content

Commit 97c0a19

Browse files
committed
Catch all for parsing post body middleware
1 parent 2261563 commit 97c0a19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/aino/middleware.ex

+3
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ defmodule Aino.Middleware do
148148

149149
"application/json" ->
150150
parse_json(token)
151+
152+
_ ->
153+
token
151154
end
152155

153156
_ ->

0 commit comments

Comments
 (0)