fix the return code documentation

This commit is contained in:
Sven Czarnian
2022-10-23 12:51:30 +02:00
parent 617ec3262d
commit 440477d741

View File

@@ -26,7 +26,7 @@ export class LoggingController {
@Get('/all') @Get('/all')
@ApiResponse({ @ApiResponse({
status: 201, status: 200,
description: 'All log entries', description: 'All log entries',
type: [LogEntryDto], type: [LogEntryDto],
}) })
@@ -58,7 +58,7 @@ export class LoggingController {
type: String, type: String,
}) })
@ApiResponse({ @ApiResponse({
status: 201, status: 200,
description: 'All log entries', description: 'All log entries',
type: [LogEntryDto], type: [LogEntryDto],
}) })