activity: fix credo nitpick
This commit is contained in:
parent
b3bf523c09
commit
59518cbcd8
@ -41,7 +41,8 @@ defmodule Pleroma.Activity do
|
||||
#
|
||||
# ```
|
||||
# |> join(:inner, [activity], o in Object,
|
||||
# fragment("(?->>'id') = COALESCE((? -> 'object'::text) ->> 'id'::text)", o.data, activity.data))
|
||||
# on: fragment("(?->>'id') = COALESCE((? -> 'object'::text) ->> 'id'::text)",
|
||||
# o.data, activity.data))
|
||||
# |> preload([activity, object], [object: object])
|
||||
# ```
|
||||
#
|
||||
@ -58,7 +59,7 @@ defmodule Pleroma.Activity do
|
||||
:inner,
|
||||
[activity],
|
||||
o in Object,
|
||||
fragment(
|
||||
on: fragment(
|
||||
"(?->>'id') = COALESCE((? -> 'object'::text) ->> 'id'::text)",
|
||||
o.data,
|
||||
activity.data
|
||||
|
Loading…
Reference in New Issue
Block a user