Fix an issue when deleting an actor

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-05-12 18:19:36 +02:00
parent bfb04bb84d
commit 4ad67e1efc
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -1865,7 +1865,7 @@ defmodule Mobilizon.Actors do
limit \\ 10
) do
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
count = length(elements)