Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Component for [LoopBack](https://loopback.io) that adds a model for retrieving the internal state of the Node process.

It is a wrapper around the [express-ping](https://github.com/palmerabollo/express-ping/) package.
It is a wrapper around the [express-ping-win-posix](https://github.com/dreamdevil00/express-ping/) package.

# Installation

Expand Down
2 changes: 1 addition & 1 deletion lib/models/ping.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Promise = require('bluebird')
const _ = require('lodash')
const debug = require('debug')('loopback:component:ping')
const health = require('express-ping')
const health = require('express-ping-win-posix')

module.exports = function pingModelFn(Ping, options) {

Expand Down
2 changes: 1 addition & 1 deletion lib/models/ping.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Ping the API to retrieve its internal state",
"methods": {
"ping": {
"accepts": [],
"accepts": [{"arg": "parts", "type": "Object"}],
"returns": {
"arg": "result",
"type": "Object",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"bluebird": "^3.5.0",
"express-ping": "^1.4.0",
"express-ping-win-posix": "^1.5.0",
"lodash": "^4.17.4"
},
"devDependencies": {
Expand Down