fix: minor fixes
This commit is contained in:
parent
0ff7664489
commit
18260122bb
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ defmodule BdfrBrowser.HTTP.Plug do
|
|||
|> send_resp(200, media)
|
||||
end
|
||||
|
||||
get "/_import" do
|
||||
post "/_import" do
|
||||
:ok = BdfrBrowser.Importer.background_import()
|
||||
send_resp(conn, 200, "IMPORTING")
|
||||
end
|
||||
|
|
|
@ -12,6 +12,6 @@ defmodule BdfrBrowser.Subreddit do
|
|||
end
|
||||
|
||||
def names do
|
||||
from(s in __MODULE__, select: s.name, order_by: [asc: s.name])
|
||||
from(s in __MODULE__, select: s.name, order_by: [asc: fragment("lower(?)", s.name)])
|
||||
end
|
||||
end
|
||||
|
|
Reference in a new issue