completionId: cgen-e8d5ef83b3b04e58af567ea411f26026
cgen-e8d5ef83b3b04e58af567ea411f26026
This commit is contained in:
parent
c4dc5dcadd
commit
c0d0e86f58
1 changed files with 3 additions and 3 deletions
|
|
@ -48,9 +48,9 @@ export default async function handler(req: any, res: any) {
|
||||||
|
|
||||||
return res.json({
|
return res.json({
|
||||||
user_id: artist.user_id,
|
user_id: artist.user_id,
|
||||||
name: artist.user_profiles?.full_name,
|
name: artist.user_profiles?.[0]?.full_name,
|
||||||
avatar_url: artist.user_profiles?.avatar_url,
|
avatar_url: artist.user_profiles?.[0]?.avatar_url,
|
||||||
email: artist.user_profiles?.email,
|
email: artist.user_profiles?.[0]?.email,
|
||||||
bio: artist.bio,
|
bio: artist.bio,
|
||||||
verified: artist.verified,
|
verified: artist.verified,
|
||||||
skills: artist.skills,
|
skills: artist.skills,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue