Remove ambiguity in call to make_date/0
This commit is contained in:
parent
57795f7332
commit
0016589aea
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ def create_status(user = %User{}, data = %{}) do
|
||||||
|
|
||||||
content_html = add_user_links(content, mentions)
|
content_html = add_user_links(content, mentions)
|
||||||
|
|
||||||
date = make_date
|
date = make_date()
|
||||||
|
|
||||||
activity = %{
|
activity = %{
|
||||||
"type" => "Create",
|
"type" => "Create",
|
||||||
|
@ -108,7 +108,7 @@ def follow(%User{} = follower, followed_id) do
|
||||||
"type" => "Follow",
|
"type" => "Follow",
|
||||||
"actor" => follower.ap_id,
|
"actor" => follower.ap_id,
|
||||||
"object" => followed.ap_id,
|
"object" => followed.ap_id,
|
||||||
"published" => make_date
|
"published" => make_date()
|
||||||
})
|
})
|
||||||
do
|
do
|
||||||
{ :ok, follower, followed, activity }
|
{ :ok, follower, followed, activity }
|
||||||
|
|
Loading…
Reference in a new issue