From 79feb78a94ea3e0116717206cc79971ff0d65a83 Mon Sep 17 00:00:00 2001 From: Topvennie Date: Tue, 10 Dec 2024 01:47:16 +0100 Subject: [PATCH] vinvoor: rename id to scan_id --- vingo/src/routes/scans.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vingo/src/routes/scans.rs b/vingo/src/routes/scans.rs index d9e9ba9..5bb08e7 100644 --- a/vingo/src/routes/scans.rs +++ b/vingo/src/routes/scans.rs @@ -109,7 +109,7 @@ pub async fn add(state: State, body: String) -> ResponseResult #[derive(Debug, FromQueryResult, Serialize)] pub struct RecentScanItem { - id: i32, + scan_id: i32, scan_time: DateTimeWithTimeZone, } @@ -118,7 +118,7 @@ pub async fn recent(state: State) -> ResponseResult