mirror of
https://github.com/OpenBankProject/API-Explorer-II.git
synced 2026-02-06 10:47:04 +00:00
scanned api versions uses is_active
This commit is contained in:
parent
53bef156f9
commit
cf5412173b
@ -122,7 +122,7 @@ export async function cacheDoc(cacheStorageOfResourceDocs: any): Promise<any> {
|
||||
}
|
||||
const scannedAPIVersions = apiVersions.scanned_api_versions
|
||||
// Filter to only include active versions
|
||||
const activeVersions = scannedAPIVersions.filter((version: any) => version.active === true)
|
||||
const activeVersions = scannedAPIVersions.filter((version: any) => version.is_active === true)
|
||||
console.log(
|
||||
`[CACHE] Found ${scannedAPIVersions.length} total versions, ${activeVersions.length} are active`
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user