From: dtluna Date: Mon, 10 Apr 2017 12:22:49 +0000 (+0300) Subject: Remove ambiguity in call to make_date/0 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=0016589aea391fd6b8d41257b7f39f76b5b93775;p=akkoma Remove ambiguity in call to make_date/0 --- diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 0d9a491da..0a942e880 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -25,7 +25,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do content_html = add_user_links(content, mentions) - date = make_date + date = make_date() activity = %{ "type" => "Create", @@ -108,7 +108,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do "type" => "Follow", "actor" => follower.ap_id, "object" => followed.ap_id, - "published" => make_date + "published" => make_date() }) do { :ok, follower, followed, activity }