diff --git a/api/operation.py b/api/operation.py index 0a048d9..b84898d 100644 --- a/api/operation.py +++ b/api/operation.py @@ -172,7 +172,7 @@ def pick_snapshot(name: str, tag: str, discard: bool) -> ChangeSet: def _get_change_set(name: str, operation: int, undo: bool) -> dict[str, Any]: row = read(name, f'select * from operation where id = {operation}') - return eval(row['undo']) if undo else eval(row['redo']) + return eval(row['undo_cs']) if undo else eval(row['redo_cs']) def sync_with_server(name: str, operation: int) -> ChangeSet: