mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-04-06 09:40:43 +00:00
Empty pre-commit config (#33)
This commit is contained in:
committed by
GitHub
parent
a132238f68
commit
a7b313c4b3
@ -47,7 +47,7 @@ impl<'a> StorageTxn for InnerTxn<'a> {
|
||||
}
|
||||
|
||||
fn new_client(&mut self, client_id: Uuid, latest_version_id: Uuid) -> anyhow::Result<()> {
|
||||
if self.0.clients.get(&client_id).is_some() {
|
||||
if self.0.clients.contains_key(&client_id) {
|
||||
return Err(anyhow::anyhow!("Client {} already exists", client_id));
|
||||
}
|
||||
self.0.clients.insert(
|
||||
|
||||
Reference in New Issue
Block a user