Ver Fonte

fix the return code documentation

Sven Czarnian há 2 anos atrás
pai
commit
440477d741
1 ficheiros alterados com 2 adições e 2 exclusões
  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],
   })