Skip to content

Commit

Permalink
Merge pull request #4 from hodfords-solutions/feat/rename-typo
Browse files Browse the repository at this point in the history
feat: rename typo
  • Loading branch information
hodfords-minhngo-be authored Jun 20, 2024
2 parents 5808e40 + 1ae56ac commit 1c7597f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libs/interceptors/response.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ResponseInterceptor implements NestInterceptor {
map((data) => {
const res = this.handleResponse(context, data);

return this.excludeByKeys(res, this.configOption?.excludeKeys || []);
return this.excludeByKeys(res, this.configOption?.excludedKeys || []);
})
);
}
Expand Down
2 changes: 1 addition & 1 deletion libs/types/config-option.type.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export type ConfigOption = {
excludeKeys?: string[];
excludedKeys?: string[];
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hodfords/nestjs-response",
"version": "10.1.0",
"version": "10.1.1",
"description": "",
"author": "",
"license": "UNLICENSED",
Expand Down
2 changes: 1 addition & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AppController } from './app.controller';
import { ResponseModule } from '../libs/modules/response.module';

const nestjsResponseConfig = ResponseModule.forRoot({
excludeKeys: ['secret']
excludedKeys: ['secret']
});

@Module({
Expand Down

0 comments on commit 1c7597f

Please sign in to comment.