fwsp-server-response
Advanced tools
Comparing version 2.2.3 to 2.2.5
@@ -224,3 +224,3 @@ 'use strict'; | ||
* @name sendInternalError | ||
* @summary Alias for sendResponseServerError | ||
* @summary Alias for sendServerError | ||
* @param {object} res - Node HTTP response object | ||
@@ -231,3 +231,3 @@ * @param {object} data - An object to send | ||
sendInternalError(res, data) { | ||
return this.sendResponseServerError(res, data); | ||
return this.sendServerError(res, data); | ||
} | ||
@@ -234,0 +234,0 @@ |
{ | ||
"name": "fwsp-server-response", | ||
"version": "2.2.3", | ||
"version": "2.2.5", | ||
"description": "Server Response module for use with Node / ExpressJS", | ||
@@ -14,2 +14,3 @@ "author": { | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
@@ -16,0 +17,0 @@ "type": "git", |
@@ -1,2 +0,2 @@ | ||
# Server Response | ||
# Server Response [![Build Status](https://travis-ci.org/flywheelsports/fwsp-server-response.svg?branch=master)](https://travis-ci.org/flywheelsports/fwsp-server-response) | ||
A server response module for use with Node / ExpressJS. | ||
@@ -24,3 +24,3 @@ | ||
```shell | ||
$ npm install @flywheelsports/server-response | ||
$ npm -i install fwsp-server-response | ||
``` | ||
@@ -27,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31122
12