projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature/896 toggling confirmation
[akkoma]
/
lib
/
pleroma
/
bookmark.ex
diff --git
a/lib/pleroma/bookmark.ex
b/lib/pleroma/bookmark.ex
index bbb51c22cf3fcf9724e1c2352a627ef89df6f33f..7f8fd43b6f174f2367022727f6292956396f1d9c 100644
(file)
--- a/
lib/pleroma/bookmark.ex
+++ b/
lib/pleroma/bookmark.ex
@@
-38,8
+38,7
@@
defmodule Pleroma.Bookmark do
Bookmark
|> where(user_id: ^user_id)
|> join(:inner, [b], activity in assoc(b, :activity))
Bookmark
|> where(user_id: ^user_id)
|> join(:inner, [b], activity in assoc(b, :activity))
- |> join(:inner, [_b, a], bookmarks in assoc(a, :bookmarks))
- |> preload([b, a, b2], activity: {a, bookmarks: b2})
+ |> preload([b, a], activity: a)
end
def get(user_id, activity_id) do
end
def get(user_id, activity_id) do