Pleroma.User.Query: fix dialyzer error
lib/pleroma/user/query.ex:74:unknown_type Unknown type: Query.t/0.
This commit is contained in:
parent
40feac086f
commit
10f3a2833f
@ -71,7 +71,7 @@ defmodule Pleroma.User.Query do
|
||||
@equal_criteria [:email]
|
||||
@contains_criteria [:ap_id, :nickname]
|
||||
|
||||
@spec build(Query.t(), criteria()) :: Query.t()
|
||||
@spec build(Ecto.Query.t(), criteria()) :: Ecto.Query.t()
|
||||
def build(query \\ base_query(), criteria) do
|
||||
prepare_query(query, criteria)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user