File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function authCloudImplicit () {
2828 // Instantiates a client. If you don't specify credentials when constructing
2929 // the client, the client library will look for credentials in the
3030 // environment.
31- const storage = Storage ( ) ;
31+ const storage = new Storage ( ) ;
3232
3333 // Makes an authenticated API request.
3434 storage
@@ -55,7 +55,7 @@ function authCloudExplicit () {
5555 // Instantiates a client. Explicitly use service account credentials by
5656 // specifying the private key file. All clients in google-cloud-node have this
5757 // helper, see https://googlecloudplatform.github.io/google-cloud-node/#/docs/google-cloud/latest/guides/authentication
58- const storage = Storage ( {
58+ const storage = new Storage ( {
5959 keyFilename : '/path/to/keyfile.json'
6060 } ) ;
6161
You can’t perform that action at this time.
0 commit comments