completionId: cgen-0815f1b347f94b938ac62a7ae4ad5433
cgen-0815f1b347f94b938ac62a7ae4ad5433
This commit is contained in:
parent
1a67a0f42c
commit
0575bc7cf0
1 changed files with 4 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ const ProfilePassport = () => {
|
|||
authProfile.username.toLowerCase() ===
|
||||
resolvedProfile.username.toLowerCase());
|
||||
|
||||
const [achievementList, interestList, projectList] = await Promise.all([
|
||||
const [achievementList, interestList, projectList, ethos] = await Promise.all([
|
||||
aethexAchievementService
|
||||
.getUserAchievements(resolvedId)
|
||||
.catch(() => [] as AethexAchievement[]),
|
||||
|
|
@ -241,6 +241,9 @@ const ProfilePassport = () => {
|
|||
aethexProjectService
|
||||
.getUserProjects(resolvedId)
|
||||
.catch(() => [] as ProjectPreview[]),
|
||||
fetch(`/api/ethos/artists?id=${resolvedId}`)
|
||||
.then(res => res.ok ? res.json() : { tracks: [] })
|
||||
.catch(() => ({ tracks: [] })),
|
||||
]);
|
||||
|
||||
if (cancelled) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue