diff --git a/CHANGELOG.md b/CHANGELOG.md index bf8ef06..407b97d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.4] - 2019-03-25 +### Fixed +- Socket hang up on `/player/stop` because of missing `send()` + ## [1.2.3] - 2019-03-25 ### Added - Changelog @@ -38,7 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - This is v1.0 which contains all of my current use cases so far. -[Unreleased]: https://github.com/moecre/forked-daapd-homebridge-middleware/compare/1.2.3...HEAD +[Unreleased]: https://github.com/moecre/forked-daapd-homebridge-middleware/compare/1.2.4...HEAD +[1.2.4]: https://github.com/moecre/forked-daapd-homebridge-middleware/compare/1.2.3...1.2.4 [1.2.3]: https://github.com/moecre/forked-daapd-homebridge-middleware/compare/1.1.3...1.2.3 [1.1.3]: https://github.com/moecre/forked-daapd-homebridge-middleware/compare/1.1.2...1.1.3 [1.1.2]: https://github.com/moecre/forked-daapd-homebridge-middleware/compare/1.1.1...1.1.2 diff --git a/package.json b/package.json index fbbf130..e9c4c85 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "plugin", "playlist" ], - "version": "1.2.3", + "version": "1.2.4", "scripts": { "start": "node ./bin/www", "dev-server": "DEBUG=* nodemon ./bin/www" diff --git a/routes/player.js b/routes/player.js index e0f40d0..41169fe 100644 --- a/routes/player.js +++ b/routes/player.js @@ -10,7 +10,7 @@ const router = express.Router() router.get('/stop', (req, res) => { Player.stop() .then(response => { - res.status(response.status) + res.status(response.status).send(response.statusText) }) .catch(err => { logger.error(err)