From c0d0e86f58f0040c737c706798fd3e2d4f6667dc Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Thu, 13 Nov 2025 07:06:42 +0000 Subject: [PATCH] completionId: cgen-e8d5ef83b3b04e58af567ea411f26026 cgen-e8d5ef83b3b04e58af567ea411f26026 --- api/ethos/artist-services.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/ethos/artist-services.ts b/api/ethos/artist-services.ts index d3683a87..b8de6921 100644 --- a/api/ethos/artist-services.ts +++ b/api/ethos/artist-services.ts @@ -48,9 +48,9 @@ export default async function handler(req: any, res: any) { return res.json({ user_id: artist.user_id, - name: artist.user_profiles?.full_name, - avatar_url: artist.user_profiles?.avatar_url, - email: artist.user_profiles?.email, + name: artist.user_profiles?.[0]?.full_name, + avatar_url: artist.user_profiles?.[0]?.avatar_url, + email: artist.user_profiles?.[0]?.email, bio: artist.bio, verified: artist.verified, skills: artist.skills,