We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a form to upload two images with different names say 'avatar' and 'background' When i use
GCloudStorageFileInterceptor('background', undefined, { prefix: 'background', predefinedAcl: 'private' }), GCloudStorageFileInterceptor('avatar', undefined, { prefix: 'avatar', predefinedAcl: 'private' }),
I get Unexpected field error
Unexpected field
@nestjs/platform-express supports has FileFieldsInterceptor which can take multiple fields
@nestjs/platform-express
FileFieldsInterceptor
@UseInterceptors(FileFieldsInterceptor([ { name: 'avatar', maxCount: 1 }, { name: 'background', maxCount: 1 }, ]))
Is there a way to do this with @aginix/nestjs-gcloud-storage ?
@aginix/nestjs-gcloud-storage
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a form to upload two images with different names say 'avatar' and 'background'
When i use
I get
Unexpected field
error@nestjs/platform-express
supports hasFileFieldsInterceptor
which can take multiple fieldsIs there a way to do this with
@aginix/nestjs-gcloud-storage
?The text was updated successfully, but these errors were encountered: