summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-09 23:42:12 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-09 23:42:12 +0200
commit3a5ca274da7575fa64f4ce0bfffc5ed4aa480724 (patch)
tree65e067af814dfd2e6d8066ba756641cd9d3df4ad
parentRemove debug log from rights util script (diff)
downloadserver-3a5ca274da7575fa64f4ce0bfffc5ed4aa480724.tar.xz
Add index in member query, fixes missing column in query
-rw-r--r--util/src/util/Permissions.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/src/util/Permissions.ts b/util/src/util/Permissions.ts
index d3efb70c..c7400303 100644
--- a/util/src/util/Permissions.ts
+++ b/util/src/util/Permissions.ts
@@ -238,6 +238,7 @@ export async function getPermission(
 			select: [
 				"id",
 				"roles",
+				"index",
 				// @ts-ignore
 				...(opts.member_select || []),
 			],