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,