We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aea298b + 675fb8f commit 5970de5Copy full SHA for 5970de5
content/techniques/file-upload.md
@@ -129,7 +129,7 @@ To understand how these can be used in conjunction with the beforementioned `Fil
129
new ParseFilePipe({
130
validators: [
131
new MaxFileSizeValidator({ maxSize: 1000 }),
132
- new FileTypeValidator({ fileType: 'jpeg' }),
+ new FileTypeValidator({ fileType: 'image/jpeg' }),
133
],
134
}),
135
)
0 commit comments