use full_text when it's available

This commit is contained in:
byte[] 2019-11-29 00:49:32 -05:00
parent 5fc1768454
commit 482b8c2e80

View file

@ -22,7 +22,7 @@ defmodule Philomena.Scrapers.Twitter do
%{
source_url: tweet["url"],
author_name: tweet["user"],
description: tweet["text"],
description: tweet["text"] || tweet["full_text"],
images: images
}
end