Closed gicaz closed 8 years ago
Only with datatype video
sails console : Error: ValidationError: child "files" fails because ["files" at position 0 fails because ["details" is not allowed, "id" is not allowed, "createdAt" is not allowed, "updatedAt" is not allowed]]
Create and delete video work.
Solved
Added to DataService and SampleService, in files validation
details: Joi.object().allow(null) id: Joi.number().integer().positive() createdAt: Joi.date() updateAt: Joi.date()
"details" is not allowed
PUT http://10.116.13.60:1337/data/3 400 (Bad Request)send @ jquery.js:9664 undefined utils.js:24