projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac7702f
)
Fix credo issues
author
rinpatch
<rinpatch@sdf.org>
Wed, 22 May 2019 18:57:46 +0000
(21:57 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 22 May 2019 18:57:46 +0000
(21:57 +0300)
lib/pleroma/web/mastodon_api/views/status_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/mastodon_api/views/status_view.ex
b/lib/pleroma/web/mastodon_api/views/status_view.ex
index c501c213c3e584c96b54d873f32b5dede5804c7a..7a393a817911995997d0d7d953b5e6ea9ba05cb2 100644
(file)
--- 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,