diff --git a/CHANGELOG.md b/CHANGELOG.md index 76b1c1db..9ff3b068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.0.68](https://github.com/pragmatismo-io/BotServer/compare/2.0.67...2.0.68) (2020-12-07) + + +### Bug Fixes + +* **customer-satisfaction.gbapp:** Fix rate and suggestion text store. ([55bb46d](https://github.com/pragmatismo-io/BotServer/commit/55bb46d8823d4640e297177634252e6dc06e9a28)) + ## [2.0.67](https://github.com/pragmatismo-io/BotServer/compare/2.0.66...2.0.67) (2020-12-07) diff --git a/package.json b/package.json index da74c776..79a4a506 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botserver", - "version": "2.0.67", + "version": "2.0.68", "description": "General Bot Community Edition open-core server.", "main": "./boot.js", "bugs": "https://github.com/pragmatismo-io/BotServer/issues", diff --git a/packages/core.gbapp/services/GBConversationalService.ts b/packages/core.gbapp/services/GBConversationalService.ts index 533bc7a0..b695cef8 100644 --- a/packages/core.gbapp/services/GBConversationalService.ts +++ b/packages/core.gbapp/services/GBConversationalService.ts @@ -580,7 +580,9 @@ export class GBConversationalService { } text = text.toLowerCase(); + text = text.replace('who´s', 'who is'); text = text.replace('who\'s', 'who is'); + text = text.replace('what´s', 'what is'); text = text.replace('what\'s', 'what is'); text = text.replace('?', ' '); text = text.replace('!', ' ');