diff --git a/src/main/vrchat/worldService.ts b/src/main/vrchat/worldService.ts index d7d4f96..f6f8e39 100644 --- a/src/main/vrchat/worldService.ts +++ b/src/main/vrchat/worldService.ts @@ -491,8 +491,9 @@ async function favoriteRecordEntries(vrc: VRChat): Promise - isWorldGroupType(g.type), + const groups = rawGroups.filter( + (g): g is (typeof rawGroups)[number] & { type: WorldFavoriteGroupType } => + isWorldGroupType(g.type), ); const pageSize = 100; const entries: WorldFavoriteRecord[] = [];