fix: fix Elixir 1.15 depreciations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-08-02 09:59:09 +02:00
parent 5373f1378f
commit da70427e32
22 changed files with 48 additions and 48 deletions

View File

@@ -44,7 +44,7 @@ defmodule Mobilizon.Web.Auth.Guardian do
end
rescue
e in Ecto.NoResultsError ->
Logger.warn("Received token claim for non existing user: #{inspect(e)}")
Logger.warning("Received token claim for non existing user: #{inspect(e)}")
{:error, :no_result}
end
end