Skip to content

Commit cf54121

Browse files
committed
scanned api versions uses is_active
1 parent 53bef15 commit cf54121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/obp/resource-docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export async function cacheDoc(cacheStorageOfResourceDocs: any): Promise<any> {
122122
}
123123
const scannedAPIVersions = apiVersions.scanned_api_versions
124124
// Filter to only include active versions
125-
const activeVersions = scannedAPIVersions.filter((version: any) => version.active === true)
125+
const activeVersions = scannedAPIVersions.filter((version: any) => version.is_active === true)
126126
console.log(
127127
`[CACHE] Found ${scannedAPIVersions.length} total versions, ${activeVersions.length} are active`
128128
)

0 commit comments

Comments
 (0)