Fakultas Ilmu Komputer UI

Commit 92592449 authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

add picture link on user_view

parent dde06526
......@@ -17,7 +17,8 @@ defmodule DiskuyWeb.UserView do
def render("user.json", %{user: user}) do
%{id: user.id,
username: user.username,
name: user.email
name: user.email,
picture: user.picture
......@@ -26,6 +27,7 @@ defmodule DiskuyWeb.UserView do
id: user.id,
email: user.email,
username: user.username,
picture: user.picture,
token: token
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment