Skip to content

Commit 5133db1

Browse files
Update content/techniques/file-upload.md
Co-authored-by: Kamil Mysliwiec <[email protected]>
1 parent 9b7d097 commit 5133db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/file-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ When using `FileFieldsInterceptor()`, extract files from the `request` with the
8585
{ name: 'avatar', maxCount: 1 },
8686
{ name: 'background', maxCount: 1 },
8787
]))
88-
uploadFile(@UploadedFiles() files: Express.Multer.File) {
88+
uploadFile(@UploadedFiles() files: Express.Multer.File[]) {
8989
console.log(files);
9090
}
9191
@@switch

0 commit comments

Comments
 (0)