diff --git a/vingo/.tool-versions b/vingo/.tool-versions index 0070a0b..818db1f 100644 --- a/vingo/.tool-versions +++ b/vingo/.tool-versions @@ -1 +1 @@ -rust 1.80.1 +rust 1.81.0 diff --git a/vingo/Dockerfile.dev b/vingo/Dockerfile.dev index 4a22e53..2294694 100644 --- a/vingo/Dockerfile.dev +++ b/vingo/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM rust:1.80.1-alpine3.19 +FROM rust:1.81-alpine3.20 WORKDIR /backend 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