Skip to content

Commit

Permalink
Undo
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed Nov 29, 2023
1 parent 6e0de9f commit f35ad44
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/apis/router_console_api.erl
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,7 @@ event(Device, Map) ->
Url,
[{<<"Authorization">>, <<"Bearer ", Token/binary>>}, ?HEADER_JSON],
jsx:encode(Body),
[
with_body,
{pool, ?EVENT_POOL},
{connect_timeout, timer:seconds(15)},
{recv_timeout, timer:seconds(15)}
]
[with_body, {pool, ?EVENT_POOL}]
)
of
{ok, 200, _Headers, _Body} ->
Expand Down

0 comments on commit f35ad44

Please sign in to comment.