@infurnia/backend-file-storage
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -14,6 +14,6 @@ const utils = require('./utils'); | ||
this.bucket_name = bucket_name || process.env.GCS_FILE_STORAGE_BUCKET_NAME; | ||
if (!project_id) { | ||
if (!this.project_id) { | ||
throw new Error(`neither project_id is given to the FileStorage constructor, nor is env var GCP_PROJECT_ID is not set`); | ||
} | ||
if (!bucket_name) { | ||
if (!this.bucket_name) { | ||
throw new Error(`neither bucket_name is given to the FileStorage constructor, nor is env var GCS_FILE_STORAGE_BUCKET_NAME is not set`); | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@infurnia/backend-file-storage", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Storage engine for google cloud storage", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14260