Skip to content

Commit

Permalink
fix(webserver): fix ci broken caused by https://github.com/TabbyML/ta…
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Mar 26, 2024
1 parent 893cdc3 commit 4752939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-db/src/user_completions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

Expand Down

0 comments on commit 4752939

Please sign in to comment.