Skip to content

Commit

Permalink
update @goapptiv/exception-handler-nestjs version
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-vaghela97 committed Oct 29, 2022
1 parent afb2cf2 commit a2ca844
Show file tree
Hide file tree
Showing 5 changed files with 486 additions and 339 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ npm install @goapptiv/slack-helper-nestjs

```ts
SlackHelperModule.registerAsync({
isGlobal: true,
imports: [AppConfigModule],
useFactory: (appConfigService: AppConfigService) => ({
logger: new Logger(SlackHelperModule.name), // <--- This field is optional, if not provided it will take the Logger from nestjs/common
appEnv: appConfigService.appEnvironment,
channels: {
default: 'general',
Expand Down
Loading

0 comments on commit a2ca844

Please sign in to comment.