Skip to content

Commit cd3ac74

Browse files
Merge pull request #1616 from Tony133/docs/update-file-interceptor
docs(file-upload): added warning for cloud providers
2 parents de2f9ca + 6af3ab2 commit cd3ac74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/techniques/file-upload.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ The `FileInterceptor()` decorator takes two arguments:
3131
- `fieldName`: string that supplies the name of the field from the HTML form that holds a file
3232
- `options`: optional object of type `MulterOptions`. This is the same object used by the multer constructor (more details [here](https://github.com/expressjs/multer#multeropts)).
3333

34+
> warning **Warning** `FileInterceptor()` may not be compatible with third party cloud providers like Google Firebase or others.
35+
3436
#### Array of files
3537

3638
To upload an array of files (identified with a single field name), use the `FilesInterceptor()` decorator (note the plural **Files** in the decorator name). This decorator takes three arguments:

0 commit comments

Comments
 (0)