mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
fix off by 1
This commit is contained in:
committed by
Aiden McClelland
parent
8dff44f283
commit
0dcbb3956e
@@ -189,8 +189,8 @@ impl Store {
|
||||
// TODO: try to recover.
|
||||
}
|
||||
|
||||
let id = self.revision;
|
||||
self.revision += 1;
|
||||
let id = self.revision;
|
||||
let res = Arc::new(Revision {
|
||||
id,
|
||||
patch,
|
||||
|
||||
Reference in New Issue
Block a user