Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 0b7a5fd

Browse files
committed
fix: add validation
1 parent cbd27bb commit 0b7a5fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/ipfs/src/http/api/resources/files-regular.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ exports.add = {
125125
'block-write-concurrency': Joi.number().integer().min(0).default(10),
126126
chunker: Joi.string(),
127127
trickle: Joi.boolean(),
128-
preload: Joi.boolean().default(true)
128+
preload: Joi.boolean().default(true),
129+
progress: Joi.boolean(),
130+
'stream-channels': Joi.boolean().default(true)
131+
129132
})
130133
// TODO: Necessary until validate "recursive", "stream-channels" etc.
131134
.options({ allowUnknown: true })

0 commit comments

Comments
 (0)