@egodigital/express-controllers
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Change Log (@egodigital/express-controllers) | ||
## [unreleased] | ||
## 1.0.2 | ||
* @TODO: initial release | ||
* initial release |
@@ -294,4 +294,7 @@ "use strict"; | ||
function createRouteInitializerForMethod(name, descriptor, opts, method) { | ||
let inputFormat = parseInt(utils_1.toStringSafe(opts.format) | ||
.trim()); | ||
let inputFormat; | ||
if (!_.isNil(opts)) { | ||
inputFormat = parseInt(utils_1.toStringSafe(opts.format) | ||
.trim()); | ||
} | ||
if (isNaN(inputFormat)) { | ||
@@ -298,0 +301,0 @@ inputFormat = BodyFormat.JSON; |
{ | ||
"name": "@egodigital/express-controllers", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Sets up controllers for Express framework.", | ||
@@ -5,0 +5,0 @@ "author": "e.GO Digital GmbH, Aachen, Germany", |
43159
694