mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 13:03:08 +00:00
Fix typo in Request Guild Members relation
This commit is contained in:
1 parent
2f1449e65f
commit
6196227ed8
3 files changed
+1
-1
No files matched your search
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