Skip to content

Commit fca46a1

Browse files
committed
use index on scim query
Signed-off-by: Matt Krick <matt.krick@gmail.com>
1 parent 44ec818 commit fca46a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/server/scim/UserEgress.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ SCIMMY.Resources.declare(SCIMMY.Resources.User).egress(async (resource, ctx: SCI
6969
eb('id', '=', eb.fn.any(eb.val(orgUsers)))
7070
])
7171
)
72+
.where('scimUserName', 'is not', null)
7273

7374
// if we have startIndex or count we need the total for pagination
7475
let totalQuery = pg

0 commit comments

Comments
 (0)