Skip to content

Commit 635258c

Browse files
committed
fix(core): Forward only defined args
1 parent dd2b974 commit 635258c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const upload = <output>(config: IConfig<output>): IMiddleware => {
2929
)
3030

3131
const uploads = await Promise.all(
32-
uploadArgumentsNames.map(uploadArgumentName =>
32+
nonEmptyUploadArgumentsNames.map(uploadArgumentName =>
3333
args[uploadArgumentName]
3434
.then(config.uploadHandler)
3535
.then(res => ({ [uploadArgumentName]: res })),

0 commit comments

Comments
 (0)