Added access_code column to teams.

This commit is contained in:
Mike Cao
2022-12-27 00:00:31 -08:00
parent dff105c747
commit aef7326f4c
3 changed files with 40 additions and 8 deletions

View File

@@ -204,7 +204,7 @@ async function findFirst(data) {
}
async function connect() {
if (!clickhouse) {
if (enabled && !clickhouse) {
clickhouse = process.env.CLICKHOUSE_URL && (global[CLICKHOUSE] || getClient());
}