From 47529392ed6c11e456cd2a88efbc49bc67318184 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Tue, 26 Mar 2024 22:06:01 +0800 Subject: [PATCH] fix(webserver): fix ci broken caused by https://github.com/TabbyML/tabby/pull/1713/files (#1727) --- ee/tabby-db/src/user_completions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/tabby-db/src/user_completions.rs b/ee/tabby-db/src/user_completions.rs index ce8d81458ff5..888115505de2 100644 --- a/ee/tabby-db/src/user_completions.rs +++ b/ee/tabby-db/src/user_completions.rs @@ -57,7 +57,7 @@ impl DbConn { DateTime::from_timestamp(duration.as_secs() as i64, duration.subsec_nanos()) .context("Invalid updated_at timestamp")?; query!("UPDATE user_completions SET views = views + ?, selects = selects + ?, dismisses = dismisses + ?, updated_at = ? WHERE completion_id = ?", - views, selects, dismisses, completion_id, updated_at).execute(&self.pool).await?; + views, selects, dismisses, updated_at, completion_id).execute(&self.pool).await?; Ok(()) }