I would send a pull request but have no idea how to solve this:
error: TypeError: Cannot read property 'toJSON' of null
at /home/matteo/Development/links-koa/node_modules/moko/lib/prototype.js:123:22
at Array.forEach (native)
at Moko.exports.toJSON (/home/matteo/Development/links-koa/node_modules/moko/lib/prototype.js:121:22)
at Object.signUpUserHandler (/home/matteo/Development/links-koa/src/controllers/users.js:17:37)
at GeneratorFunctionPrototype.next (native)
at Object.next (/home/matteo/Development/links-koa/node_modules/co/index.js:83:21)
at Object.<anonymous> (/home/matteo/Development/links-koa/node_modules/co/index.js:102:18)
at processImmediate [as _immediateCallback] (timers.js:374:17)
I would send a pull request but have no idea how to solve this:
https://github.com/MokoJs/moko/blob/master/lib/prototype.js#L121