Explorar o código

fix the return code documentation

Sven Czarnian %!s(int64=2) %!d(string=hai) anos
pai
achega
440477d741
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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],
   })