From 912323d9e42a45e05fa34778dad75ced7b0096fc Mon Sep 17 00:00:00 2001 From: fx Date: Sun, 15 Oct 2023 16:26:16 +0200 Subject: added log for build test --- src/routes/start.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/routes') diff --git a/src/routes/start.rs b/src/routes/start.rs index 2e6a648..163d58c 100644 --- a/src/routes/start.rs +++ b/src/routes/start.rs @@ -12,6 +12,7 @@ use crate::db::Device; use crate::error::WebolError; pub async fn start(State(state): State>, headers: HeaderMap, Json(payload): Json) -> Result, WebolError> { + info!("POST request"); let secret = headers.get("authorization"); if auth(secret).map_err(WebolError::Auth)? { let device = sqlx::query_as!( -- cgit v1.2.3