diff --git a/content/techniques/file-upload.md b/content/techniques/file-upload.md index ad0a71210d..4515763d72 100644 --- a/content/techniques/file-upload.md +++ b/content/techniques/file-upload.md @@ -82,9 +82,16 @@ uploadFileAndPassValidation( As you can see, it's required to specify an array of file validators that will be executed by the `ParseFilePipe`. We'll discuss the interface of a validator, but it's worth mentioning this pipe also has two additional **optional** options: -| `errorHttpStatusCode` | The HTTP status code to be thrown in case **any** validator fails. Default is `400` (BAD REQUEST). | -|---------------------------------|----------------------------------------------------------------------------------------------------| -| `exceptionFactory` | A factory which receives the error message and returns an error. | +
errorHttpStatusCode |
+ The HTTP status code to be thrown in case **any** validator fails. Default is 400 (BAD REQUEST) |
+
exceptionFactory |
+ A factory which receives the error message and returns an error. | +