fix(session): type message list not found errors (#27275)
This commit is contained in:
parent
fed043a1ad
commit
f01c6b3e37
9 changed files with 95 additions and 23 deletions
|
|
@ -168,7 +168,8 @@ function withContext<A, E>(
|
|||
)
|
||||
return { info, part }
|
||||
}),
|
||||
messages: (sessionID) => run(modules.Session.Service.use((svc) => svc.messages({ sessionID }))),
|
||||
messages: (sessionID) =>
|
||||
run(modules.Session.Service.use((svc) => svc.messages({ sessionID }).pipe(Effect.orDie))),
|
||||
todos: (sessionID, todos) => run(modules.Todo.Service.use((svc) => svc.update({ sessionID, todos }))),
|
||||
worktree: (input) => run(modules.Worktree.Service.use((svc) => svc.create(input))),
|
||||
worktreeRemove: (directory) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue