Kaynağa Gözat

fix the return code documentation

Sven Czarnian 2 yıl önce
ebeveyn
işleme
440477d741
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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],
   })