Преглед на файлове

Fix credo issues

tags/v1.1.4
rinpatch преди 5 години
родител
ревизия
e6b175ed6c
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. +2
    -1
      lib/pleroma/web/mastodon_api/views/status_view.ex

+ 2
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex Целия файл

@@ -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…
Отказ
Запис