1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Remove unnecessary type cast.

This commit is contained in:
Sam Rose 2023-11-08 09:24:51 +00:00
parent fdfda100c1
commit 57eb23dc50
No known key found for this signature in database

View file

@ -81,7 +81,7 @@ async function syncUsersToApp(
export async function syncUsersToAllApps(userIds: string[]) {
// list of users, if one has been deleted it will be undefined in array
const users = (await getRawGlobalUsers(userIds)) as User[]
const users = await getRawGlobalUsers(userIds)
const groups = await proSdk.groups.fetch()
const finalUsers: (User | DeletedUser)[] = []
for (let userId of userIds) {