mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 10:09:02 +00:00
Fix credo issues
This commit is contained in:
parent
ac7702f800
commit
e6b175ed6c
|
@ -357,7 +357,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
||||||
end)
|
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,
|
id: object.id,
|
||||||
expires_at: Utils.to_masto_date(end_time),
|
expires_at: Utils.to_masto_date(end_time),
|
||||||
expired: expired,
|
expired: expired,
|
||||||
|
|
Loading…
Reference in a new issue