Issue with chaining promises + Datasets

Got it working only with code discarding the datasets… but interested in understanding what was happening with the code I wrote above #WixCoders?