bigtunacan (16) [Avatar] Offline
In diagram 7.20 the anonymous function within the exec is labeled as accepting either {} or [{}] as possible data types for the result/foundUser param. Is this true for

I would expect that it would only accept {} as findOne should only return a single JSON object?
283876 (35) [Avatar] Offline
You are absolutely correct. There's also no second argument. I've made the correction. Thanks! Best, Irl
bigtunacan (16) [Avatar] Offline

If on the off chance you end up with an "Acknowledgements" section in your book you can feel free to mention me for all of the time I spend hanging out in this forum smilie

Love the work you are doing with Sails.
283876 (35) [Avatar] Offline
Many many thanks!