[resumes][fix] Fix starred resumes uploader name (#333)

pull/335/head
Su Yin 2 years ago committed by GitHub
parent 384981716d
commit e1ca8e8f78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,11 +16,11 @@ export const resumesResumeProtectedTabsRouter = createProtectedRouter()
stars: true,
},
},
},
},
user: {
select: {
name: true,
user: {
select: {
name: true,
},
},
},
},
},
@ -43,7 +43,7 @@ export const resumesResumeProtectedTabsRouter = createProtectedRouter()
role: rs.resume.role,
title: rs.resume.title,
url: rs.resume.url,
user: rs.user.name!,
user: rs.resume.user.name!,
};
return resume;
});

Loading…
Cancel
Save