allow server.update to update to current version (#1679)

This commit is contained in:
Aiden McClelland
2022-07-22 14:10:09 -06:00
committed by GitHub
parent c22c80d3b0
commit 36c720227f
2 changed files with 86 additions and 94 deletions

View File

@@ -156,7 +156,7 @@ async fn maybe_do_update(
.version()
.get_mut(&mut db)
.await?;
if &latest_version <= &current_version {
if &latest_version < &current_version {
return Ok(None);
}
let mut tx = db.begin().await?;