summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-07 20:26:21 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-07 20:26:21 +0200
commit4fc964f14e611f0f22b144655ce2c8298bfd0958 (patch)
tree9b58990954f6ca2f9fe0f6b0bd71c2fd26b26a8a /src
parent:zap: use mongoose autopopulate (diff)
parentMerge pull request #3 from notsapinho/patch-1 (diff)
downloadserver-4fc964f14e611f0f22b144655ce2c8298bfd0958.tar.xz
Merge branch 'main' of https://github.com/discord-open-source/discord-server-util into main
Diffstat (limited to 'src')
-rw-r--r--src/models/Guild.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/Guild.ts b/src/models/Guild.ts

index aa520329..819ac840 100644 --- a/src/models/Guild.ts +++ b/src/models/Guild.ts
@@ -110,7 +110,7 @@ GuildSchema.virtual("roles", { GuildSchema.virtual("members", { ref: MemberModel, localField: "id", - foreignField: "member_id", + foreignField: "guild_id", justOne: false, });