@tiledesk/tiledesk-server 2.10.0 → 2.10.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.10.1
9
+ - Bugfix: try to read fully_abandoned of request without attributes
10
+
8
11
  # 2.10.0
9
12
  - Added support for engine to namespace
10
13
  - Added support for advanced context to kb
package/deploy.sh CHANGED
@@ -1,5 +1,5 @@
1
1
  git pull
2
- npm version minor
2
+ npm version patch
3
3
  version=`node -e 'console.log(require("./package.json").version)'`
4
4
  echo "version $version"
5
5
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.10.0",
4
+ "version": "2.10.1",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
@@ -310,7 +310,7 @@ class RequestService {
310
310
 
311
311
  winston.verbose("Request " + request.request_id + " contains already the same participants at the same request status. Routed to the same participants");
312
312
 
313
- if (routedRequest.attributes.fully_abandoned && routedRequest.attributes.fully_abandoned === true) {
313
+ if (routedRequest.attributes && routedRequest.attributes.fully_abandoned && routedRequest.attributes.fully_abandoned === true) {
314
314
  request.status = RequestConstants.ABANDONED;
315
315
  request.attributes.fully_abandoned = true;
316
316
  request.markModified('status');