-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
Description
function* create(next) {
try{
// Parse the POST data
var todo = yield parse(this); //this throws an error
https://github.com/rethinkdb/rethinkdb-example-nodejs/blob/master/todo-angular-koa/app.js#L64
This example throws an error for me.
I tried yield parse.json(this) and still not sure what the deal is. Same message.
Typically this means its not an object...but a string, and it indeed looks like JSON.stringify was ran on it.
