Skip to content

Commit a9401fa

Browse files
Merge pull request #3442 from emmayusufu/docs-fix-parsefilepipe-typo
docs: correct pipe name FileParsePipe to ParseFilePipe in file upload guide
2 parents 9eaa0e7 + f4e5043 commit a9401fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/techniques/file-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export abstract class FileValidator<TValidationOptions = Record<string, any>> {
133133
- `MaxFileSizeValidator` - Checks if a given file's size is less than the provided value (measured in `bytes`)
134134
- `FileTypeValidator` - Checks if a given file's mime-type matches a given string or RegExp. By default, validates the mime-type using file content [magic number](https://www.ibm.com/support/pages/what-magic-number)
135135

136-
To understand how these can be used in conjunction with the aforementioned `FileParsePipe`, we'll use an altered snippet of the last presented example:
136+
To understand how these can be used in conjunction with the aforementioned `ParseFilePipe`, we'll use an altered snippet of the last presented example:
137137

138138
```typescript
139139
@UploadedFile(

0 commit comments

Comments
 (0)