From 3a5ca274da7575fa64f4ce0bfffc5ed4aa480724 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 9 Aug 2022 23:42:12 +0200 Subject: Add index in member query, fixes missing column in query --- util/src/util/Permissions.ts | 1 + 1 file changed, 1 insertion(+) 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 || []), ], -- cgit 1.4.1