Skip to content

Commit

Permalink
remove console.log and fix typos (#40)
Browse files Browse the repository at this point in the history
* remove console.log

* ignore .env files

* fix typo
  • Loading branch information
gabrielmatei authored May 16, 2024
1 parent 621818d commit 29eaca9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ lerna-debug.log*

**/*/config/schema.json
**/*/config/config.yaml
**/*/config/schema.yaml
**/*/config/schema.yaml

# Environment
.env
.env.custom
2 changes: 1 addition & 1 deletion apps/api/src/endpoints/example/example.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class ExampleController {
type: Example,
isArray: true,
})
@ApiQuery({ name: 'from', description: 'Numer of items to skip for the result set', required: false })
@ApiQuery({ name: 'from', description: 'Number of items to skip for the result set', required: false })
@ApiQuery({ name: 'size', description: 'Number of items to retrieve', required: false })
@ApiQuery({ name: 'search', description: 'Search by example description', required: false })
async getExamples(
Expand Down
2 changes: 0 additions & 2 deletions apps/api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ async function bootstrap() {
const commonConfigService = publicApp.get<CommonConfigService>(CommonConfigService);
const metricsService = privateApp.get<MetricsService>(MetricsService);

console.log({ apiUrl: commonConfigService.config.urls.api });

const globalInterceptors: NestInterceptor[] = [];
globalInterceptors.push(new LoggingInterceptor(metricsService));
globalInterceptors.push(new RequestCpuTimeInterceptor(metricsService));
Expand Down

0 comments on commit 29eaca9

Please sign in to comment.