Skip to content

Commit f4e5043

Browse files
committed
docs: correct pipe name FileParsePipe to ParseFilePipe in file upload guide
The class is named ParseFilePipe everywhere else in this guide and in the framework. The single FileParsePipe reference reads as the correct class to developers searching for it, so the name needs to match.
1 parent 9eaa0e7 commit f4e5043

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)