Fix specs.

This commit is contained in:
lain 2019-05-17 11:49:13 +02:00
commit 249b31ffe5
2 changed files with 1 additions and 2 deletions

View file

@ -1144,7 +1144,6 @@ defmodule Pleroma.User do
stream =
ap_id
|> Activity.query_by_actor()
|> Activity.with_preloaded_object()
|> Repo.stream()
Repo.transaction(fn -> Enum.each(stream, &delete_activity(&1)) end, timeout: :infinity)