Browse Source

Fix credo issues

tags/v1.1.4
rinpatch 5 years ago
parent
commit
e6b175ed6c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/pleroma/web/mastodon_api/views/status_view.ex

+ 2
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex 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,


Loading…
Cancel
Save