fix(slow_subs): fix response data type error
This commit is contained in:
parent
f7ec74d367
commit
8e2ff381a4
|
@ -107,7 +107,7 @@ slow_subs(get, _) ->
|
|||
SortedL = lists:sort(SortFun, RankL),
|
||||
SortedL2 = lists:sublist(SortedL, ?MAX_SIZE),
|
||||
|
||||
{200, SortedL2}.
|
||||
{200, #{data => SortedL2}}.
|
||||
|
||||
get_history() ->
|
||||
Node = node(),
|
||||
|
|
Loading…
Reference in New Issue