elderwand 0.1.50 → 0.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -563,6 +563,10 @@ module.exports.inherit = function (child) {
563
563
  fs.mkdirSync(path.resolve('uploads/' + child.singularName + "/" + req[child.singularName].id));
564
564
  }
565
565
  var needToSave = false
566
+
567
+ if(req.files == null){
568
+ req.files = {}
569
+ }
566
570
  async.each(Object.keys(req.files), function(key, next){
567
571
  if(req[child.singularName].walk(key) == undefined || req[child.singularName].walk(key) == null){
568
572
  req[child.singularName].walk(key, [])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elderwand",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "KLE Technologies Internal Framework",
5
5
  "main": "./node_modules/.bin/nodemon index.js",
6
6
  "scripts": {