projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'get_by_id' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
utils.ex
diff --git
a/lib/pleroma/web/activity_pub/utils.ex
b/lib/pleroma/web/activity_pub/utils.ex
index 2e9ffe41c40f5b2fa33049d94f7544cd450af5a0..77841278a3a63489b4ff3ebb17461343895108d3 100644
(file)
--- a/
lib/pleroma/web/activity_pub/utils.ex
+++ b/
lib/pleroma/web/activity_pub/utils.ex
@@
-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 ->