Open sinedied opened 4 years ago
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
Use a default config to simplify module configuration.
[ ] Bugfix [x] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [ ] Other... Please describe:
Before:
AzureStorageModule.withConfig({ sasKey: process.env['AZURE_STORAGE_SAS_KEY'], accountName: process.env['AZURE_STORAGE_ACCOUNT'], containerName: 'nest-demo-container', }),
Issue Number: N/A
After (even containerName could be omitted, but you usually want to customize it anyway):
containerName
AzureStorageModule.withConfig({ containerName: 'nest-demo-container', }),
[ ] Yes [x] No
Also updated deps for vulnerabilities & fixed prettier formatting
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Use a default config to simplify module configuration.
What is the current behavior?
Before:
Issue Number: N/A
What is the new behavior?
After (even
containerName
could be omitted, but you usually want to customize it anyway):Does this PR introduce a breaking change?
Other information
Also updated deps for vulnerabilities & fixed prettier formatting