Просмотр исходного кода

fix the return code documentation

Sven Czarnian 2 лет назад
Родитель
Сommit
440477d741
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/logging/logging.controller.ts

+ 2 - 2
src/logging/logging.controller.ts

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