Skip to content

Commit 8ffff56

Browse files
authored
Merge pull request #98 from EzeanoroEbuka/main
Logger app again checked and tested
2 parents 7f9f4ca + 6a8d96b commit 8ffff56

4 files changed

Lines changed: 23 additions & 38 deletions

File tree

package-lock.json

Lines changed: 16 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ app.useGlobalFilters(
5555

5656
console.log(`Application is running on: http://localhost:${port}`);
5757
}
58+
5859
bootstrap();

src/pets/pets.controller.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import {
99
Query,
1010
UseGuards,
1111
Request,
12-
} from '@nestjs/common';
12+
}
13+
14+
from '@nestjs/common';
1315
import {
1416
ApiTags,
1517
ApiOperation,
@@ -27,6 +29,7 @@ import { UpdatePetDto } from './dto/update-pet.dto';
2729
import { SearchPetsDto } from './dto/search-pets.dto';
2830
import { UserRole } from '../common/enums';
2931

32+
3033
@ApiTags('Pets')
3134
@Controller('pets')
3235
export class PetsController {
@@ -52,6 +55,7 @@ export class PetsController {
5255
description:
5356
'Returns paginated list of pets with optional filtering and computed availability',
5457
})
58+
5559
@ApiResponse({
5660
status: 200,
5761
description: 'Paginated pets list',

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"strictBindCallApply": false,
2323
"noFallthroughCasesInSwitch": false,
2424
"typeRoots": ["./node_modules/@types", "./src/types"],
25-
"types": ["multer"]
25+
"types": ["multer","jest", "node"],
2626

2727
},
2828
"watchOptions": {

0 commit comments

Comments
 (0)