Fix credo issues

This commit is contained in:
rinpatch 2019-05-22 21:57:46 +03:00
parent ac7702f800
commit e6b175ed6c

View file

@ -357,7 +357,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView 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,