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