Fix query

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk 2025-03-18 00:48:00 +01:00
parent e6be348d75
commit b738247013

View file

@ -304,7 +304,7 @@ defmodule Pleroma.User.Query do
defp compose_query({:domain, domain}, query) do
query
|> where([u], like(u.nickname, ^"%#{domain}"))
|> where([u], like(u.nickname, ^"%@#{domain}"))
end
defp compose_query(_unsupported_param, query), do: query