aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-05-22 21:57:46 +0300
committerrinpatch <rinpatch@sdf.org>2019-05-22 21:57:46 +0300
commite6b175ed6cafcd6a05120e003cfe40a04b38849f (patch)
treeea3d32eab2158be8c315e3225784d066e26edb20 /lib
parentac7702f8009bf244a9e77cba39114dbb6584739f (diff)
downloadpleroma-e6b175ed6cafcd6a05120e003cfe40a04b38849f.tar.gz
Fix credo issues
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/views/status_view.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex
index c501c213c..7a393a817 100644
--- a/lib/pleroma/web/mastodon_api/views/status_view.ex
+++ b/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,