From 51f66586fae92f2d0f2dc38ddefd629b7102f885 Mon Sep 17 00:00:00 2001 From: Eguo Wang Date: Thu, 18 Jan 2024 21:30:47 +0800 Subject: [PATCH] chore: replace `Logger` with `Logging` --- src/handlers/logger.rs | 2 +- src/swagger.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers/logger.rs b/src/handlers/logger.rs index e486858..62f25ff 100644 --- a/src/handlers/logger.rs +++ b/src/handlers/logger.rs @@ -35,7 +35,7 @@ use crate::services::logger::LoggerService; (status = 200, description = "Playbook logs found successfully"), (status = 404, description = "Playbook not found") ), - tag = "Logger" + tag = "Logging" )] pub async fn logs(Path(id): Path, State(ctx): State>) -> Result { LoggerService::logs(ctx, id).await; diff --git a/src/swagger.rs b/src/swagger.rs index 37915b2..01da3e5 100644 --- a/src/swagger.rs +++ b/src/swagger.rs @@ -59,7 +59,7 @@ use crate::{handlers, requests}; ), tags( (name = "Playbooks", description = "The Playbooks Service Handlers"), - (name = "Logger", description = "The Logger Service Handlers"), + (name = "Logging", description = "The Logging Service Handlers"), ), )] struct ApiDoc;