We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74189c5 + 6d15e0c commit 1bbdeadCopy full SHA for 1bbdead
lib/hook.js
@@ -67,6 +67,7 @@ module.exports = function(sails) {
67
68
req.options.controller = model;
69
req.options.model = model;
70
+ req.body = JsonApiService.deserialize(req.body);
71
72
if (sails.controllers[model].update !== undefined) {
73
return sails.controllers[model].update(req, res);
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "sails-json-api-blueprints",
3
- "version": "0.10.0",
+ "version": "0.10.1",
4
"description": "Blueprints to turn a Sails.js API into a JSON API",
5
"main": "index.js",
6
"scripts": {
0 commit comments