Just use this directly in ionViewDidLoad
instead of your own method. Only then you can use the async stuff there and only work with the data after you actually got it.
↧
How to make json response available within the same ts file
↧