Hello,
Thanks for this report. You are correct. It looks like a change was introduced that assumes payload
is an object, although the book uses it as undefined for that example.
I’m going to see if it’s intended that payload cannot be undefined.
Best,
Steve