projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#114] Added :user_id component to email confirmation path to improve the security.
[akkoma]
/
lib
/
pleroma
/
list.ex
diff --git
a/lib/pleroma/list.ex
b/lib/pleroma/list.ex
index 891c73f5a7ede5a8dc521cc5846c33998bba6ea0..c5bf3e0831f0302fc598ebfdbc505e9d6793404a 100644
(file)
--- a/
lib/pleroma/list.ex
+++ b/
lib/pleroma/list.ex
@@
-23,7
+23,7
@@
defmodule Pleroma.List do
|> validate_required([:following])
end
|> validate_required([:following])
end
- def for_user(user, opts) do
+ def for_user(user,
_
opts) do
query =
from(
l in Pleroma.List,
query =
from(
l in Pleroma.List,
@@
-46,7
+46,7
@@
defmodule Pleroma.List do
Repo.one(query)
end
Repo.one(query)
end
- def get_following(%Pleroma.List{following: following} = list) do
+ def get_following(%Pleroma.List{following: following} =
_
list) do
q =
from(
u in User,
q =
from(
u in User,