Skip to content

Commit ae3ba7d

Browse files
committed
vingo: yeet
1 parent 5a3b2f0 commit ae3ba7d

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

vingo/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vingo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vingo"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
edition = "2021"
55

66
[workspace]

vingo/src/routes/scans.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,11 @@ pub async fn recent(state: State<AppState>) -> ResponseResult<Json<Vec<RecentSca
125125
scan::Column::ScanTime.as_str(),
126126
)))
127127
.join(JoinType::InnerJoin, scan::Relation::Card.def())
128-
.join(JoinType::InnerJoin, card::Relation::User.def())
129128
.filter(scan::Column::ScanTime.gt(fourteen_days_ago))
130-
.order_by_asc(card::Column::UserId)
131129
.order_by_asc(Expr::cust(format!(
132130
"DATE({})",
133131
scan::Column::ScanTime.as_str()
134132
)))
135-
.order_by_asc(scan::Column::Id)
136133
.into_model::<RecentScanItem>()
137134
.all(&state.db)
138135
.await

0 commit comments

Comments
 (0)