Debug log mentions in text to be processed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
eebcd48447
commit
f5791d1413
@ -34,6 +34,7 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Utils do
|
|||||||
@spec fetch_mentions([map()]) :: [map()]
|
@spec fetch_mentions([map()]) :: [map()]
|
||||||
def fetch_mentions(mentions) when is_list(mentions) do
|
def fetch_mentions(mentions) when is_list(mentions) do
|
||||||
Logger.debug("fetching mentions")
|
Logger.debug("fetching mentions")
|
||||||
|
Logger.debug(inspect(mentions))
|
||||||
|
|
||||||
Enum.reduce(mentions, [], fn mention, acc -> create_mention(mention, acc) end)
|
Enum.reduce(mentions, [], fn mention, acc -> create_mention(mention, acc) end)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user