From 6fc0bb6701497cbe5b6741dd7d6dfb1916327ce8 Mon Sep 17 00:00:00 2001 From: Dave Landry Date: Tue, 9 Jan 2024 10:26:29 -0500 Subject: [PATCH] updates example to use CANON_CMS_DB string --- examples/canon.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/canon.js b/examples/canon.js index 7363d569d..e95f70516 100644 --- a/examples/canon.js +++ b/examples/canon.js @@ -56,10 +56,7 @@ module.exports = { // ] // }, { - host: env.CANON_DB_HOST || "localhost", - name: env.CANON_DB_NAME, - user: env.CANON_DB_USER, - pass: env.CANON_DB_PW, + connection: process.env.CANON_CMS_DB, tables: [ require("@datawheel/canon-cms/models"), require("@datawheel/canon-core/models")