1
0
Fork 0
forked from mirrors/akkoma

Add banner image to user json.

This commit is contained in:
lain 2018-02-22 08:24:18 +01:00
parent 37e406ae36
commit c443aec83d

View file

@ -45,6 +45,10 @@ def render("user.json", %{user: user}) do
"icon" => %{
"type" => "Image",
"url" => User.avatar_url(user)
},
"image" => %{
"type" => "Image",
"url" => User.banner_url(user)
}
}
end