diff --git a/CHANGELOG.md b/CHANGELOG.md index 3325a999..013ee603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ + +# 1.5.2 (Development) + +### Fixed + +* Fix chatwootSchema in chatwoot model to store reopen_conversation and conversation_pending options + # 1.5.1 (2023-09-17 13:50) ### Feature diff --git a/src/whatsapp/models/chatwoot.model.ts b/src/whatsapp/models/chatwoot.model.ts index 18d6b6f0..ed7c2ef0 100644 --- a/src/whatsapp/models/chatwoot.model.ts +++ b/src/whatsapp/models/chatwoot.model.ts @@ -24,6 +24,8 @@ const chatwootSchema = new Schema({ name_inbox: { type: String, required: true }, sign_msg: { type: Boolean, required: true }, number: { type: String, required: true }, + reopen_conversation: { type: Boolean, required: true }, + conversation_pending: { type: Boolean, required: true }, }); export const ChatwootModel = dbserver?.model(ChatwootRaw.name, chatwootSchema, 'chatwoot');