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

View file

@ -4,8 +4,8 @@ defmodule Pleroma.Elasticsearch.DocumentMappings.Hashtag do
def encode(%{timestamp: _} = hashtag) do
%{
hashtag: hashtag.name,
timestamp: hashtag.timestamp
}
timestamp: hashtag.timestamp
}
end
def encode(hashtag) do