I’m still struggling to understand how to chain 3 asynchronous calls using promis and then.
I’ve created 3 getJson call functions: user, logo and streamer. All three of them have wrapper functions callUser, callLogo and callStreamer to enable chaining promises from asynchronous calls.
I’m getting the error: “pen.js:105 Uncaught TypeError: Cannot read property ‘then’ of undefined” after the callLogo.
Here is my pen: