1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 20:52:42 +01:00
This commit is contained in:
Flam3rboy 2021-04-07 20:26:21 +02:00
commit 4fc964f14e

View File

@ -110,7 +110,7 @@ GuildSchema.virtual("roles", {
GuildSchema.virtual("members", {
ref: MemberModel,
localField: "id",
foreignField: "member_id",
foreignField: "guild_id",
justOne: false,
});