diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-09 23:42:12 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-09 23:42:12 +0200 |
commit | 3a5ca274da7575fa64f4ce0bfffc5ed4aa480724 (patch) | |
tree | 65e067af814dfd2e6d8066ba756641cd9d3df4ad | |
parent | Remove debug log from rights util script (diff) | |
download | server-3a5ca274da7575fa64f4ce0bfffc5ed4aa480724.tar.xz |
Add index in member query, fixes missing column in query
-rw-r--r-- | util/src/util/Permissions.ts | 1 |
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 || []), ], |