I'd appreciate some help.
I have nested asynchronous functions fetching data inside a regular main function. There are .then statements executing but the .then statements that are inside of the functions being called don't execute. Please someone let me know why and how I can fix this issue since one of my async functions has a .then inside it that is necessary for the following steps of the .then tree.
Example:
function getCookies() {
grabCookie() // async await function that has thens inside its own function
.then(() => {
lickCookie() // async await function that has thens inside its own function
.then(() => {
eatCookie() // async await function thens inside its own function
.then(() => {
// do a bunch of stuf
})
})
})
.then(() => {
// do a bunch of stuf
})
}