nestjs-form-data
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -10,3 +10,2 @@ "use strict"; | ||
const common_1 = require("@nestjs/common"); | ||
const FileSystemStoredFile_1 = require("./storage/FileSystemStoredFile"); | ||
class FormReader { | ||
@@ -83,3 +82,3 @@ constructor(req, config) { | ||
async loadFile(filename, encoding, mimetype, stream) { | ||
return await FileSystemStoredFile_1.FileSystemStoredFile.create(filename, encoding, mimetype, stream, this.config); | ||
return await this.config['storage'].create(filename, encoding, mimetype, stream, this.config); | ||
} | ||
@@ -86,0 +85,0 @@ } |
{ | ||
"name": "nestjs-form-data", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
Sorry, the diff of this file is not supported yet
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
55281
621