aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-12-14 13:56:42 +0100
committerhref <href@random.sh>2018-12-14 13:56:42 +0100
commit0b4c61e8d5a8a24be44aa6bf48c404b47289d0a8 (patch)
treedb846e27cd1c6b1986cd599b9f8ca30aac891fdb /lib
parentec0e613ecaa8dc411e0c821c4c9b2ca893b45f67 (diff)
downloadpleroma-0b4c61e8d5a8a24be44aa6bf48c404b47289d0a8.tar.gz
Fix warning
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/mastodon_api_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
index 4db7cd60f..0414d73d8 100644
--- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
+++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
@@ -1061,7 +1061,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
response = %{
id: to_string(id),
type: mastodon_type,
- created_at: CommonAPI.Utils.to_masto_date(activity.inserted_at),
+ created_at: CommonAPI.Utils.to_masto_date(created_at),
account: AccountView.render("account.json", %{user: actor, for: user})
}