Merge branch 'birth-dates' into 'develop'
Birthdays: Fix outgoing federation of birth dates See merge request pleroma/pleroma!3626
This commit is contained in:
commit
de99fd7804
|
@ -93,8 +93,8 @@ def render("user.json", %{user: user}) do
|
|||
end
|
||||
|
||||
birthday =
|
||||
if user.show_birthday,
|
||||
do: user.birthday,
|
||||
if user.show_birthday && user.birthday,
|
||||
do: Date.to_iso8601(user.birthday),
|
||||
else: nil
|
||||
|
||||
%{
|
||||
|
|
Loading…
Reference in New Issue