fix: fix Elixir 1.15 depreciations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -10,7 +10,7 @@ defmodule Mobilizon.Service.GitStatus do
|
||||
|
||||
_ ->
|
||||
# Fallback on Mix version
|
||||
Logger.warn("Could not read git commit hash, using Mix version code instead.")
|
||||
Logger.warning("Could not read git commit hash, using Mix version code instead.")
|
||||
Mix.Project.config()[:version]
|
||||
end)
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ defmodule Mobilizon.Service.Notifier.Email do
|
||||
end
|
||||
|
||||
defp can_send_activity?(activity, user, options) do
|
||||
Logger.warn(
|
||||
Logger.warning(
|
||||
"Can't check if user #{inspect(user)} can be sent an activity (#{inspect(activity)}) (#{inspect(options)})"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user