mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 02:02:19 +00:00
Apply suggestion to lib/pleroma/filter.ex
This commit is contained in:
parent
6558f31cda
commit
771748db1f
|
@ -42,7 +42,7 @@ defmodule Pleroma.Filter do
|
|||
from(f in query, where: f.hide)
|
||||
end
|
||||
|
||||
def get_by_user(query, %User{id: user_id} = _user) do
|
||||
def get_filters(query \\ __MODULE__, %User{id: user_id}) do
|
||||
query =
|
||||
from(
|
||||
f in query,
|
||||
|
|
Loading…
Reference in a new issue