projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3bf523
)
activity: fix credo nitpick
author
William Pitcock
<nenolod@dereferenced.org>
Sat, 23 Mar 2019 00:24:23 +0000
(
00:24
+0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Sat, 23 Mar 2019 00:26:12 +0000
(
00:26
+0000)
lib/pleroma/activity.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/activity.ex
b/lib/pleroma/activity.ex
index 370721070f70fc2f55c7e437a468b2542a5b4f05..f041d0e5364211698baf52ccd4c59af09fc5c3db 100644
(file)
--- a/
lib/pleroma/activity.ex
+++ b/
lib/pleroma/activity.ex
@@
-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