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}) ->
|
||||
#{id => emqx_guid:to_hexstr(ID)}.
|
||||
|
||||
to_binary(Data) when is_binary(Data) ->
|
||||
Data;
|
||||
to_binary(Data) ->
|
||||
list_to_binary(io_lib:format("~p", [Data])).
|
||||
to_binary(Term) ->
|
||||
list_to_binary(io_lib:format("~p", [Term])).
|
||||
|
|
Loading…
Reference in New Issue