25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

make format

This commit is contained in:
Badlop 2024-07-17 19:04:10 +02:00
parent 97c2d6a29d
commit 65e16dcac1
2 changed files with 4 additions and 4 deletions

View File

@ -1684,9 +1684,7 @@ make_command2(Name, Request, BaseArguments, Options) ->
ResultLinks = proplists:get_value(result_links, Options, []),
TO = proplists:get_value(table_options, Options, {999999, []}),
Style = proplists:get_value(style, Options, normal),
#request{us = {RUser, RServer},
ip = RIp} =
Request,
#request{us = {RUser, RServer}, ip = RIp} = Request,
CallerInfo =
#{usr => {RUser, RServer, <<"">>},
ip => RIp,

View File

@ -141,7 +141,9 @@ http_list_tuple(Config) ->
?match(LTB, query(Config, "command_test_list_tuple", #{arg_list => LTB})).
http_list_tuple_map(Config) ->
LTA = #{<<"one">> => <<"uno">>, <<"dos">> => <<"two">>, <<"three">> => <<"tres">>},
LTA = #{<<"one">> => <<"uno">>,
<<"dos">> => <<"two">>,
<<"three">> => <<"tres">>},
LTB = lists:sort([#{<<"element1">> => <<"one">>, <<"element2">> => <<"uno">>},
#{<<"element1">> => <<"dos">>, <<"element2">> => <<"two">>},
#{<<"element1">> => <<"three">>, <<"element2">> => <<"tres">>}]),