This commit is contained in:
FloatingGhost 2021-12-16 16:05:33 +00:00
parent 9134ef5ecb
commit 742b86fdaa

View file

@ -4,8 +4,8 @@ def id(obj), do: obj.id
def encode(%{timestamp: _} = hashtag) do def encode(%{timestamp: _} = hashtag) do
%{ %{
hashtag: hashtag.name, hashtag: hashtag.name,
timestamp: hashtag.timestamp timestamp: hashtag.timestamp
} }
end end
def encode(hashtag) do def encode(hashtag) do