Skip to content

Commit

Permalink
updated tybot-connector to 0.2.139
Browse files Browse the repository at this point in the history
removed _id from faq model
  • Loading branch information
Giovanni Troisi committed Jan 21, 2025
1 parent f8261a1 commit 971057a
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 16 deletions.
12 changes: 6 additions & 6 deletions models/faq.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ const uuidv4 = require('uuid/v4');
var defaultFullTextLanguage = process.env.DEFAULT_FULLTEXT_INDEX_LANGUAGE || "none";

var FaqSchema = new Schema({
_id: {
type: mongoose.Schema.Types.ObjectId,
index: true,
required: true,
auto: true,
},
// _id: {
// type: mongoose.Schema.Types.ObjectId,
// index: true,
// required: true,
// auto: true,
// },
id_faq_kb: {
type: String,
index: true
Expand Down
119 changes: 110 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@tiledesk/tiledesk-rasa-connector": "^1.0.10",
"@tiledesk/tiledesk-telegram-connector": "^0.1.14",
"@tiledesk/tiledesk-train-jobworker": "^0.0.11",
"@tiledesk/tiledesk-tybot-connector": "^0.2.138",
"@tiledesk/tiledesk-tybot-connector": "^0.2.139",
"@tiledesk/tiledesk-whatsapp-connector": "^0.1.76",
"@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.11",
"@tiledesk/tiledesk-sms-connector": "^0.1.11",
Expand Down

0 comments on commit 971057a

Please sign in to comment.