Replaces member avatars with links to avatar.png endpoint (#2708)

* Replaces member avatars with links to avatar.png endpoint

* Replaced additional occurences

* Use WEBSITE_URL from @calcom/lib/constants instead

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Alex van Andelandkodiakhq[bot] authored and GitHub committed 2022-05-09 18:25:12 +00:00
1 parent 9825754b32
commit edd99cdeb2
6 files changed
+13 -12

No files matched your search

-1
View File
@@ -11,7 +11,6 @@ export type TeamWithMembers = AsyncReturnType<typeof getTeamWithMembers>;
export async function getTeamWithMembers(id?: number, slug?: string) {
const userSelect = Prisma.validator<Prisma.UserSelect>()({
username: true,
avatar: true,
email: true,
name: true,
id: true,