backend-plus 2.0.0-beta.5 → 2.0.0-beta.6

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.
@@ -1377,6 +1377,7 @@ AppBackend.prototype.addProcedureServices = function addProcedureServices(forUnl
1377
1377
  var params={};
1378
1378
  procedureDef.parameters.forEach(function(paramDef){
1379
1379
  var undecodedValue = req[source][paramDef.name];
1380
+ undecodedValue = paramDef.encoding == 'plain' || undecodedValue === undefined ? undecodedValue : undecodedValue + '';
1380
1381
  var value = undecodedValue===undefined?undecodedValue:myOwn.encoders[paramDef.encoding].parse(undecodedValue);
1381
1382
  if(undecodedValue===undefined){
1382
1383
  if(paramDef.defaultSpecial === 'currentYear'){
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "backend-plus",
3
3
  "description": "Backend for the anti Pareto rule",
4
- "version": "2.0.0-beta.5",
4
+ "version": "2.0.0-beta.6",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/backend-plus",