little fix

This commit is contained in:
Alexander Strizhakov 2020-11-19 15:29:26 +03:00
commit 46dab37351
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
3 changed files with 20 additions and 3 deletions

View file

@ -362,6 +362,7 @@ defmodule Pleroma.Activity do
ap_id
|> Queries.by_object_id()
|> with_preloaded_object()
|> first()
|> Repo.one()
end