diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-12-28 10:33:28 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-12-28 11:05:24 +0100 |
commit | 18b536c176d3b51f3a91f42ba5a001711ab85490 (patch) | |
tree | cdf88962def4bd8149226b28464ea94b7db8894d /lib/pleroma/web/mastodon_api | |
parent | 87b13c543039859007d9e2ba27c0236ab4092a9d (diff) | |
download | pleroma-18b536c176d3b51f3a91f42ba5a001711ab85490.tar.gz |
Pleroma.Object/1: take %Object{} as argument instead
Diffstat (limited to 'lib/pleroma/web/mastodon_api')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 2 |
1 files changed, 1 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 b39f05d13..3ba453d1f 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -347,7 +347,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do media_attachments: attachments, poll: render(PollView, "show.json", object: object, for: opts[:for]), mentions: mentions, - tags: build_tags(Object.hashtags(object.data)), + tags: build_tags(Object.hashtags(object)), application: %{ name: "Web", website: nil |