chore: delete unused function clause
This commit is contained in:
parent
5a8cab46a9
commit
f2db35db39
|
@ -172,7 +172,5 @@ format_message_response(Messages) when is_list(Messages) ->
|
||||||
format_message_response(#message{id = ID}) ->
|
format_message_response(#message{id = ID}) ->
|
||||||
#{id => emqx_guid:to_hexstr(ID)}.
|
#{id => emqx_guid:to_hexstr(ID)}.
|
||||||
|
|
||||||
to_binary(Data) when is_binary(Data) ->
|
to_binary(Term) ->
|
||||||
Data;
|
list_to_binary(io_lib:format("~p", [Term])).
|
||||||
to_binary(Data) ->
|
|
||||||
list_to_binary(io_lib:format("~p", [Data])).
|
|
||||||
|
|
Loading…
Reference in New Issue