Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
0016589a
Commit
0016589a
authored
Apr 10, 2017
by
dtluna
Browse files
Remove ambiguity in call to make_date/0
parent
57795f73
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/twitter_api/twitter_api.ex
View file @
0016589a
...
...
@@ -25,7 +25,7 @@ def create_status(user = %User{}, data = %{}) do
content_html
=
add_user_links
(
content
,
mentions
)
date
=
make_date
date
=
make_date
()
activity
=
%{
"type"
=>
"Create"
,
...
...
@@ -108,7 +108,7 @@ def follow(%User{} = follower, followed_id) do
"type"
=>
"Follow"
,
"actor"
=>
follower
.
ap_id
,
"object"
=>
followed
.
ap_id
,
"published"
=>
make_date
"published"
=>
make_date
()
})
do
{
:ok
,
follower
,
followed
,
activity
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment