Fix mix format and format migrations too
Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix credo warnings Signed-off-by: Thomas Citharel <tcit@tcit.fr> Show elixir version Signed-off-by: Thomas Citharel <tcit@tcit.fr> Also lint migrations Signed-off-by: Thomas Citharel <tcit@tcit.fr> Reset allow failure to false Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
defmodule MobilizonWeb.API.Search do
|
||||
@moduledoc """
|
||||
API for Search
|
||||
"""
|
||||
alias Mobilizon.Service.ActivityPub
|
||||
alias Mobilizon.Actors
|
||||
alias Mobilizon.Actors.Actor
|
||||
@@ -80,7 +83,7 @@ defmodule MobilizonWeb.API.Search do
|
||||
actor
|
||||
else
|
||||
{:error, _err} ->
|
||||
Logger.debug("Unable to find or make actor '#{search}'")
|
||||
Logger.debug(fn -> "Unable to find or make actor '#{search}'" end)
|
||||
nil
|
||||
end
|
||||
end
|
||||
@@ -92,7 +95,7 @@ defmodule MobilizonWeb.API.Search do
|
||||
object
|
||||
else
|
||||
{:error, _err} ->
|
||||
Logger.debug("Unable to find or make object from URL '#{search}'")
|
||||
Logger.debug(fn -> "Unable to find or make object from URL '#{search}'" end)
|
||||
nil
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user