Commit 6e8de2fa authored by kaniini's avatar kaniini
Browse files

run mix format

parent 4033ed67
......@@ -404,15 +404,19 @@ def search(query, resolve) do
from(
u in User,
select_merge: %{
search_distance: fragment(
search_distance:
fragment(
"? <-> (? || ?)",
^query,
u.nickname,
u.name
)}
)
}
)
q = from(s in subquery(inner),
q =
from(
s in subquery(inner),
order_by: s.search_distance,
limit: 20
)
......
......@@ -628,7 +628,11 @@ def get("http://mastodon.example.org/users/admin", [Accept: "application/activit
}}
end
def get("https://hubzilla.example.org/channel/kaniini", [Accept: "application/activity+json"], _) do
def get(
"https://hubzilla.example.org/channel/kaniini",
[Accept: "application/activity+json"],
_
) do
{:ok,
%Response{
status_code: 200,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment