I stand corrected. I was declaring a function that returned a Promise instead of a Promise. My mista...
d
I stand corrected. I was declaring a function that returned a Promise instead of a Promise. My mistake.