mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 08:16:16 +00:00
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 a new issue