change Repo.get(Activity, id) => Activity.get_by_id(id)
This commit is contained in:
parent
9305e241cb
commit
4212527928
6 changed files with 13 additions and 14 deletions
|
|
@ -354,7 +354,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
[state, actor, object]
|
||||
)
|
||||
|
||||
activity = Repo.get(Activity, activity.id)
|
||||
activity = Activity.get_by_id(activity.id)
|
||||
{:ok, activity}
|
||||
rescue
|
||||
e ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue