mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
🐛 fix Public Member
This commit is contained in:
parent
8dd5f86350
commit
004c07fed1
@ -104,6 +104,6 @@ MemberSchema.virtual("user", {
|
||||
export const MemberModel = db.model<MemberDocument>("Member", MemberSchema, "members");
|
||||
|
||||
// @ts-ignore
|
||||
export interface PublicMember extends Omit<Member, "settings" | "id"> {
|
||||
export interface PublicMember extends Omit<Member, "settings" | "id" | "read_state"> {
|
||||
user: PublicUser;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user