diff --git a/src/searchPublicApi.js b/src/searchPublicApi.js index 3455dc1..70e9627 100644 --- a/src/searchPublicApi.js +++ b/src/searchPublicApi.js @@ -159,8 +159,8 @@ async function printTypes () { const typesContainer = document.querySelector('#select-type') const types = await getTypes() - - Object.keys(types).forEach(type => { + console.log(types) + types.forEach(type => { typesContainer.innerHTML += `