fix sign
This commit is contained in:
parent
6f60cdbd82
commit
ea252a98aa
@ -29,7 +29,7 @@ init(Req0, Opts) ->
|
|||||||
}, Resp, Req1),
|
}, Resp, Req1),
|
||||||
{ok, Req2, Opts};
|
{ok, Req2, Opts};
|
||||||
false ->
|
false ->
|
||||||
lager:debug("[api_handler] invalid sign: ~p, body sign: ~p, request body: ~p", [Sign, BodySign, ReqBody]),
|
lager:debug("[api_handler] invalid sign: ~p, body sign: ~p, request body: ~ts", [Sign, BodySign, ReqBody]),
|
||||||
Req2 = cowboy_req:reply(500, #{
|
Req2 = cowboy_req:reply(500, #{
|
||||||
<<"Content-Type">> => <<"text/html;charset=utf-8">>
|
<<"Content-Type">> => <<"text/html;charset=utf-8">>
|
||||||
}, <<"Internal Server Error">>, Req1),
|
}, <<"Internal Server Error">>, Req1),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user