1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 19:14:03 +00:00

html: don't attempt to parse nil content

This commit is contained in:
William Pitcock 2019-02-05 05:06:17 +00:00
parent 03991e7bc5
commit a2bb5d890d

View file

@ -59,6 +59,8 @@ defp generate_scrubber_signature(scrubbers) do
end)
end
def extract_first_external_url(_, nil), do: {:error, "No content"}
def extract_first_external_url(object, content) do
key = "URL|#{object.id}"