completionId: cgen-833f8176adc948e1948b38c2365a8b13

cgen-833f8176adc948e1948b38c2365a8b13
This commit is contained in:
Builder.io 2025-11-12 05:55:23 +00:00
parent 0c1a50cab3
commit 9aa86ba8dc

View file

@ -253,10 +253,10 @@ const ProfilePassport = () => {
aethexProjectService
.getUserProjects(resolvedId)
.catch(() => [] as ProjectPreview[]),
fetch(`/api/ethos/artists?id=${resolvedId}`)
fetch(`${API_BASE}/api/ethos/artists?id=${resolvedId}`)
.then((res) => (res.ok ? res.json() : { tracks: [] }))
.catch(() => ({ tracks: [] })),
fetch(`/api/creators/user/${resolvedId}`)
fetch(`${API_BASE}/api/creators/user/${resolvedId}`)
.then((res) => (res.ok ? res.json() : null))
.catch(() => null),
]);