strapi-provider-upload-wasabi
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -6,3 +6,3 @@ 'use strict' | ||
const trimParam = str => (typeof str === 'string' ? str.trim() : undefined) | ||
const fileName = file => `${file.path ? file.path + '/' : ''}${file.name}_${file.hash}.${file.ext}` | ||
const fileName = file => `${file.path ? file.path + '/' : ''}${file.name}_${file.hash}${file.ext}` | ||
@@ -58,2 +58,5 @@ module.exports = { | ||
file.url = data.Location | ||
} else { | ||
if (process.env.DEBUG) console.log('Data is null') | ||
file.url = null | ||
} | ||
@@ -60,0 +63,0 @@ } |
{ | ||
"name": "strapi-provider-upload-wasabi", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Wasabi provider for Strapi upload", | ||
@@ -5,0 +5,0 @@ "homepage": "http://strapi.io", |
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
141173
1
148
9