strapi-provider-upload-wasabi
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -45,3 +45,3 @@ 'use strict' | ||
try { | ||
wasabi.putObject( | ||
wasabi.upload( | ||
{ | ||
@@ -56,4 +56,7 @@ Key: fileName(file), | ||
if (data) { | ||
console.log(data) | ||
if (process.env.DEBUG) console.log(`File upload: ${data}`) | ||
file.url = data.Location | ||
} else { | ||
if (process.env.DEBUG) console.log('File upload response is null') | ||
file.url = null | ||
} | ||
@@ -60,0 +63,0 @@ } |
{ | ||
"name": "strapi-provider-upload-wasabi", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Wasabi provider for Strapi upload", | ||
@@ -5,0 +5,0 @@ "homepage": "http://strapi.io", |
141204
148
9