I kept undefined casted to null to keep this change non-breaking. It seems to be common to return request.yar.get('stored'), and hapi will complain if controller returns undefined.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
Fix #121.
I kept
undefined
casted tonull
to keep this change non-breaking. It seems to be common toreturn request.yar.get('stored')
, and hapi will complain if controller returnsundefined
.