mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 13:14:57 +00:00
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 @@ defmodule Pleroma.Activity 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