forked from YokaiRick/akkoma
Fix Activity.delete_all_by_object_ap_id/1 timeout so users can be deleted
This commit is contained in:
parent
b221d77a6d
commit
9a0cb34c8c
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ def delete_all_by_object_ap_id(id) when is_binary(id) do
|
|||
|> Queries.by_object_id()
|
||||
|> Queries.exclude_type("Delete")
|
||||
|> select([u], u)
|
||||
|> Repo.delete_all()
|
||||
|> Repo.delete_all(timeout: :infinity)
|
||||
|> elem(1)
|
||||
|> Enum.find(fn
|
||||
%{data: %{"type" => "Create", "object" => ap_id}} when is_binary(ap_id) -> ap_id == id
|
||||
|
|
Loading…
Reference in a new issue