Fix typo in Request Guild Members relation

This commit is contained in:
TomatoCake 2024-08-14 16:46:43 +02:00
parent 2f1449e65f
commit 6196227ed8
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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);