Remove ambiguity in call to make_date/0
authordtluna <dtluna@openmailbox.org>
Mon, 10 Apr 2017 12:22:49 +0000 (15:22 +0300)
committerdtluna <dtluna@openmailbox.org>
Mon, 10 Apr 2017 12:22:49 +0000 (15:22 +0300)
lib/pleroma/web/twitter_api/twitter_api.ex

index 0d9a491dafaf98b052318854878242c26613dd34..0a942e880e538d1e92fd67f80a4b0ee1c1080828 100644 (file)
@@ -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 }