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
1 changed files with 1 additions and 1 deletions

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) {