浏览代码

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,


正在加载...
取消
保存