Quellcode durchsuchen

fix the return code documentation

Sven Czarnian vor 2 Jahren
Ursprung
Commit
440477d741
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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],
   })