@duvdu-v1/duvdu 1.1.83 → 1.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/utils/bucket.js +1 -1
- package/package.json +1 -1
package/build/utils/bucket.js
CHANGED
|
@@ -28,7 +28,7 @@ class Bucket {
|
|
|
28
28
|
saveBucketFiles(folder, ...files) {
|
|
29
29
|
return __awaiter(this, void 0, void 0, function* () {
|
|
30
30
|
for (const file of files) {
|
|
31
|
-
const fileStream = fs_1.default.createReadStream(path_1.default.
|
|
31
|
+
const fileStream = fs_1.default.createReadStream(path_1.default.resolve(`media/${folder}/${file.filename}`));
|
|
32
32
|
yield new Promise((resolve, reject) => {
|
|
33
33
|
this.s3.putObject({
|
|
34
34
|
Bucket: this.bucketName,
|