Apply fixes from @ryneeverett

Co-authored-by: ryneeverett <ryneeverett@gmail.com>
This commit is contained in:
Dustin J. Mitchell 2025-07-14 12:30:01 -04:00 committed by GitHub
parent 25911b44a6
commit b858febbca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@
//! //!
//! This crate is intended for small deployments of a sync server, supporting one or a small number //! This crate is intended for small deployments of a sync server, supporting one or a small number
//! of users. The schema for the database is considered an implementation detail. For more robust //! of users. The schema for the database is considered an implementation detail. For more robust
//! database support, consider `taskchmpaion-sync-server-storage-posrgres`. //! database support, consider `taskchampion-sync-server-storage-postgres`.
use anyhow::Context; use anyhow::Context;
use chrono::{TimeZone, Utc}; use chrono::{TimeZone, Utc};
@ -276,7 +276,7 @@ impl StorageTxn for Txn {
SET SET
latest_version_id = ?, latest_version_id = ?,
versions_since_snapshot = versions_since_snapshot + 1 versions_since_snapshot = versions_since_snapshot + 1
WHERE client_id = ? and latest_Version_id = ?", WHERE client_id = ? and latest_version_id = ?",
params![ params![
StoredUuid(version_id), StoredUuid(version_id),
StoredUuid(self.client_id), StoredUuid(self.client_id),