response-format
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -44,3 +44,3 @@ "use strict" | ||
unAuthorized: (message, data) => { | ||
this.statusCode = 402 | ||
this.statusCode = 401 | ||
this.error = true | ||
@@ -47,0 +47,0 @@ this.data = data || null |
{ | ||
"name": "response-format", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Module which will provide HTTP-friendly error objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |