forked from AkkomaGang/akkoma
Linting.
This commit is contained in:
parent
25a03a9b5b
commit
e4289792d2
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ def start(_type, _args) do
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
|
|
||||||
defp set_postgres_server_version() do
|
defp set_postgres_server_version do
|
||||||
version =
|
version =
|
||||||
with %{rows: [[version]]} <- Ecto.Adapters.SQL.query!(Pleroma.Repo, "show server_version"),
|
with %{rows: [[version]]} <- Ecto.Adapters.SQL.query!(Pleroma.Repo, "show server_version"),
|
||||||
{num, _} <- Float.parse(version) do
|
{num, _} <- Float.parse(version) do
|
||||||
|
|
Loading…
Reference in a new issue