Skip to content

Commit

Permalink
fix: update usage of @google-cloud/storage (#395)
Browse files Browse the repository at this point in the history
Update usage of `@google-cloud/storage` after breaking #393
  • Loading branch information
parzhitsky authored May 26, 2020
1 parent 62cb9f0 commit c909a00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bookshelf/lib/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const GOOGLE_CLOUD_PROJECT = process.env['GOOGLE_CLOUD_PROJECT'];
const CLOUD_BUCKET = GOOGLE_CLOUD_PROJECT + '_bucket';

// [START bookshelf_cloud_storage_client]
const Storage = require('@google-cloud/storage');
const {Storage} = require('@google-cloud/storage');

const storage = Storage();
const storage = new Storage();
const bucket = storage.bucket(CLOUD_BUCKET);
// [END bookshelf_cloud_storage_client]

Expand Down

0 comments on commit c909a00

Please sign in to comment.