@egodigital/express-controllers
Advanced tools
Comparing version 1.0.10 to 1.1.0
# Change Log (@egodigital/express-controllers) | ||
## 1.1.0 | ||
* (bug)fixes | ||
## 1.0.8 | ||
* initial release |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@egodigital/express-controllers", | ||
"version": "1.0.10", | ||
"version": "1.1.0", | ||
"description": "Sets up controllers for Express framework.", | ||
@@ -30,3 +30,4 @@ "author": "e.GO Digital GmbH, Aachen, Germany", | ||
"router", | ||
"app" | ||
"app", | ||
"typescript" | ||
], | ||
@@ -33,0 +34,0 @@ "dependencies": { |
@@ -211,3 +211,3 @@ [](https://www.npmjs.com/package/@egodigital/express-controllers) | ||
// send each as response | ||
public __serialize(context: ResponseSerializerContext) { | ||
public async __serialize(context: ResponseSerializerContext) { | ||
return context.response | ||
@@ -291,3 +291,3 @@ .header('Content-Type', 'application/json') | ||
// handle exceptions | ||
public __error(context: RequestErrorHandlerContext) { | ||
public async __error(context: RequestErrorHandlerContext) { | ||
return context.response | ||
@@ -294,0 +294,0 @@ .status(500) |
Sorry, the diff of this file is not supported yet
71966