fix(api): slow subs update config return
This commit is contained in:
parent
e517b41a4d
commit
9a6653d152
|
@ -130,7 +130,7 @@ settings(get, _) ->
|
|||
|
||||
settings(put, #{body := Body}) ->
|
||||
case emqx_slow_subs:update_settings(Body) of
|
||||
{ok, NewConf} ->
|
||||
{ok, #{config := NewConf}} ->
|
||||
{200, NewConf};
|
||||
{error, Reason} ->
|
||||
Message = list_to_binary(io_lib:format("Update slow subs config failed ~p", [Reason])),
|
||||
|
|
Loading…
Reference in New Issue