From 004c07fed1c80f11bde4946fa1b53adb6b27a110 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 21 May 2021 22:08:48 +0200 Subject: [PATCH] :bug: fix Public Member --- src/models/Member.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/Member.ts b/src/models/Member.ts index 9f7ca2e1..d1c9ad9b 100644 --- a/src/models/Member.ts +++ b/src/models/Member.ts @@ -104,6 +104,6 @@ MemberSchema.virtual("user", { export const MemberModel = db.model("Member", MemberSchema, "members"); // @ts-ignore -export interface PublicMember extends Omit { +export interface PublicMember extends Omit { user: PublicUser; }