|
|
@ -77,7 +77,7 @@ export default class ScalewayObjectStorage implements IStorageAdapter { |
|
|
|
const tempFile = path.join(process.cwd(), 'temp.txt'); |
|
|
|
const tempFile = path.join(process.cwd(), 'temp.txt'); |
|
|
|
const createStream = fs.createWriteStream(tempFile); |
|
|
|
const createStream = fs.createWriteStream(tempFile); |
|
|
|
createStream.end(); |
|
|
|
createStream.end(); |
|
|
|
await this.fileCreate('/nc-test-file.txt', { |
|
|
|
await this.fileCreate('nc-test-file.txt', { |
|
|
|
path: tempFile, |
|
|
|
path: tempFile, |
|
|
|
mimetype: '', |
|
|
|
mimetype: '', |
|
|
|
originalname: 'temp.txt', |
|
|
|
originalname: 'temp.txt', |
|
|
|