Fix typo in Request Guild Members relation
This commit is contained in:
parent
2f1449e65f
commit
6196227ed8
Binary file not shown.
Binary file not shown.
@ -64,7 +64,7 @@ export async function onRequestGuildMembers(this: WebSocket, { d }: Payload) {
|
||||
...whereQuery,
|
||||
guild_id,
|
||||
},
|
||||
relations: ["users", "roles"],
|
||||
relations: ["user", "roles"],
|
||||
};
|
||||
if (limit) memberFind.take = Math.abs(Number(limit || 100));
|
||||
const members = await Member.find(memberFind);
|
||||
|
||||
Reference in New Issue
Block a user