Przeglądaj źródła

Fix credo issues

tags/v1.1.4
rinpatch 5 lat temu
rodzic
commit
e6b175ed6c
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      lib/pleroma/web/mastodon_api/views/status_view.ex

+ 2
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex Wyświetl plik

@@ -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,


Ładowanie…
Anuluj
Zapisz