From 19c78b7e1c6f0a42ca5d73ae0bbfc1166660e39f Mon Sep 17 00:00:00 2001 From: jsimonweb Date: Tue, 25 Sep 2018 11:32:25 -0700 Subject: [PATCH] Update QuickStart to use "new" syntax for creating Spanner client. --- samples/quickstart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/quickstart.js b/samples/quickstart.js index b91202453..c52ea6564 100644 --- a/samples/quickstart.js +++ b/samples/quickstart.js @@ -23,7 +23,7 @@ const {Spanner} = require('@google-cloud/spanner'); const projectId = 'YOUR_PROJECT_ID'; // Creates a client -const spanner = Spanner({ +const spanner = new Spanner({ projectId: projectId, });