Fix credo issues
This commit is contained in:
parent
ac7702f800
commit
e6b175ed6c
|
@ -357,7 +357,8 @@ def render("poll.json", %{object: object} = _opts) do
|
|||
end)
|
||||
|
||||
%{
|
||||
# Mastodon uses separate ids for polls, but an object can't have more than one poll embedded so object id is fine
|
||||
# Mastodon uses separate ids for polls, but an object can't have
|
||||
# more than one poll embedded so object id is fine
|
||||
id: object.id,
|
||||
expires_at: Utils.to_masto_date(end_time),
|
||||
expired: expired,
|
||||
|
|
Loading…
Reference in a new issue