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:
parent
8dd5f86350
commit
004c07fed1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user