X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpleroma%2Fweb%2Fadmin_api%2Fsearch.ex;h=da38fab56991f90cf2481baf0680c0e4b4116e5a;hb=af7c3fab98f4f5d1fa541035fd8b2821e0abb77b;hp=f7d2b73278c94d10eba66330e881c874d042c82e;hpb=5e88796784e0ac2dbf57d9cf954fdc8ae8aeae43;p=akkoma diff --git a/lib/pleroma/web/admin_api/search.ex b/lib/pleroma/web/admin_api/search.ex index f7d2b7327..da38fab56 100644 --- a/lib/pleroma/web/admin_api/search.ex +++ b/lib/pleroma/web/admin_api/search.ex @@ -10,12 +10,6 @@ defmodule Pleroma.Web.AdminAPI.Search do @page_size 50 - defmacro not_empty_string(string) do - quote do - is_binary(unquote(string)) and unquote(string) != "" - end - end - @spec user(map()) :: {:ok, [User.t()], pos_integer()} def user(params \\ %{}) do query =