diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts index 0535313e2..fffa088a8 100644 --- a/src/util/entities/Member.ts +++ b/src/util/entities/Member.ts @@ -63,6 +63,7 @@ export const MemberPrivateProjection: (keyof Member)[] = [ "roles", "settings", "user", + "avatar", ]; @Entity("members") @@ -522,7 +523,8 @@ export type PublicMemberKeys = | "pending" | "deaf" | "mute" - | "premium_since"; + | "premium_since" + | "avatar"; export const PublicMemberProjection: PublicMemberKeys[] = [ "id", @@ -534,6 +536,7 @@ export const PublicMemberProjection: PublicMemberKeys[] = [ "deaf", "mute", "premium_since", + "avatar", ]; export type PublicMember = Omit, "roles"> & {