waibu 1.1.7 → 1.1.8
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.
|
@@ -19,7 +19,7 @@ async function onFileHandler () {
|
|
|
19
19
|
async function handleMultipartBody (ctx, options = {}) {
|
|
20
20
|
const { defaultsDeep, importPkg, isSet } = this.app.bajo
|
|
21
21
|
const { isArray, map, trim, isPlainObject, isEmpty } = this.lib._
|
|
22
|
-
const parseVar = await importPkg('dotenv-parse-variables')
|
|
22
|
+
const parseVar = await importPkg('bajo:dotenv-parse-variables')
|
|
23
23
|
if (options === false) return this.log.warn('middlewareDisabled%s', 'multipart')
|
|
24
24
|
const opts = defaultsDeep(options, this.app.waibu.config.multipart)
|
|
25
25
|
const onFile = await onFileHandler.call(this)
|