1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 06:32:36 +01:00

🐛 fix Public Member

This commit is contained in:
Flam3rboy 2021-05-21 22:08:48 +02:00
parent 8dd5f86350
commit 004c07fed1

View File

@ -104,6 +104,6 @@ MemberSchema.virtual("user", {
export const MemberModel = db.model<MemberDocument>("Member", MemberSchema, "members"); export const MemberModel = db.model<MemberDocument>("Member", MemberSchema, "members");
// @ts-ignore // @ts-ignore
export interface PublicMember extends Omit<Member, "settings" | "id"> { export interface PublicMember extends Omit<Member, "settings" | "id" | "read_state"> {
user: PublicUser; user: PublicUser;
} }