From 440477d74164d64211841dd53e09201e8eb83897 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Sun, 23 Oct 2022 12:51:30 +0200 Subject: [PATCH] fix the return code documentation --- src/logging/logging.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logging/logging.controller.ts b/src/logging/logging.controller.ts index 527ccac..7b6512d 100644 --- a/src/logging/logging.controller.ts +++ b/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], })