Skip to content

Commit 9f72190

Browse files
committed
fix: update reset method in TapeService to use session/start for handoff
Signed-off-by: Frost Ming <me@frostming.com>
1 parent 482ee8b commit 9f72190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bub/tape/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def reset(self, *, archive: bool = False) -> str:
111111
state = {"owner": "human"}
112112
if archive_path is not None:
113113
state["archived"] = str(archive_path)
114-
self._tape.handoff("session/reset", state=state)
114+
self._tape.handoff("session/start", state=state)
115115
return f"Archived: {archive_path}" if archive_path else "ok"
116116

117117
def anchors(self, *, limit: int = 20) -> list[AnchorSummary]:

0 commit comments

Comments
 (0)