Refactor the app.js file


Hi, i have structured my projekt based on the best practices
this is my structure:

i have states and app folder.
My problem:
if i have an async intent in states like this

let wsResponse = await getSpotData(typeOfSpot)

this.ask not works
but if i have the intent in the app.js works.
Any idea how to solve?


maybe a return statement could fix it:
return this.ask(..)