cozy / cozy-browser-sdk

Cozy Data System client for the browser
http://dev.cozy.io
MIT License
7 stars 12 forks source link

Create() : response contains only _id #6

Open flyingrub opened 8 years ago

flyingrub commented 8 years ago
 cozysdk.create('Track', model, (error, response) => {
    console.log('CREATE TRACK', error, response);
});

when an object is created the response looks like this :

CREATE TRACK null Object { _id: "6ff5933b1feaf95ed8068bd78303431d" }

it would perhaps be better if we would have the full document created (with all attributes)