feat: add chatwoot_edition variable for CE docker images (#4462)

* chore: add chatwoot_edition variable for CE docker images

* fix cw_edition variable

* chore: update comment

* feat: include cw_edition data in payload to hub

* refactor cw_edition to edition
This commit is contained in:
Vishnu Narayanan
2022-04-14 17:15:57 +05:30
committed by GitHub
parent 337a74a10c
commit 80e5d6d7a0
2 changed files with 12 additions and 4 deletions

View File

@@ -16,7 +16,8 @@ class ChatwootHub
installation_identifier: installation_identifier,
installation_version: Chatwoot.config[:version],
installation_host: URI.parse(ENV.fetch('FRONTEND_URL', '')).host,
installation_env: ENV.fetch('INSTALLATION_ENV', '')
installation_env: ENV.fetch('INSTALLATION_ENV', ''),
edition: ENV.fetch('CW_EDITION', '')
}
end