You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
If we have two upload routes in controller, second FileInterceptor destination will override first, so only second destination will be used.
Expected behavior
Each route should store files to own destination.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
We should be able to provide different destinations (options) on different routes.
Environment
Nest version: 4.6.0
The text was updated successfully, but these errors were encountered:
mentos1386
changed the title
File Interceptor only supports one options at a time (overrides other options).
File Interceptor only supports one options at a time (overrides other options)
Feb 17, 2018
I'm submitting a...
Current behavior
If we have two upload routes in controller, second
FileInterceptor
destination will override first, so only second destination will be used.Expected behavior
Each route should store files to own destination.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
We should be able to provide different destinations (options) on different routes.
Environment
The text was updated successfully, but these errors were encountered: