From 26f1e6394844ff5269d8455020d7443e63b4b321 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 27 Sep 2018 14:35:09 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20docs=20=E2=80=94=20config.socketPath=20sh?= =?UTF-8?q?ould=20be=20config.host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/sql/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/sql/index.js b/functions/sql/index.js index e5df892375..e7d65f2389 100644 --- a/functions/sql/index.js +++ b/functions/sql/index.js @@ -85,7 +85,7 @@ const pgConfig = { }; if (process.env.NODE_ENV === 'production') { - pgConfig.socketPath = `/cloudsql/${connectionName}`; + pgConfig.host = `/cloudsql/${connectionName}`; } // Connection pools reuse connections between invocations,