diff --git a/src/static/dist/js/apollo.js b/src/static/dist/js/apollo.js index 6395e85..5703116 100644 --- a/src/static/dist/js/apollo.js +++ b/src/static/dist/js/apollo.js @@ -28,10 +28,9 @@ document.getElementById("assistantButton").addEventListener("click", function () suggestion_container.innerHTML = type_suggestion; - let other_suggestions = "" - apollo_api.get("v1/relations", null, { token: prompt }).then(data => { console.log(data); + let other_suggestions = "" for (let i = 0; i++; i < data.length) { console.log(data[i]); let item = data[i]