Fix an issue when deleting an actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
bfb04bb84d
commit
4ad67e1efc
@ -1865,7 +1865,7 @@ defmodule Mobilizon.Actors do
|
|||||||
limit \\ 10
|
limit \\ 10
|
||||||
) do
|
) do
|
||||||
Logger.debug("accumulate_paginated_elements")
|
Logger.debug("accumulate_paginated_elements")
|
||||||
%Page{total: total, elements: new_elements} = page = method.(actor, page, limit)
|
%Page{total: total, elements: new_elements} = method.(actor, page, limit)
|
||||||
elements = elements ++ new_elements
|
elements = elements ++ new_elements
|
||||||
count = length(elements)
|
count = length(elements)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user