refactor(share): remove session share async facade exports (#22386)
This commit is contained in:
parent
b1312a3181
commit
ad265797ab
1 changed files with 18 additions and 14 deletions
|
|
@ -564,7 +564,7 @@ export const GithubRunCommand = cmd({
|
|||
shareId = await (async () => {
|
||||
if (share === false) return
|
||||
if (!share && repoData.data.private) return
|
||||
await SessionShare.share(session.id)
|
||||
await AppRuntime.runPromise(SessionShare.Service.use((svc) => svc.share(session.id)))
|
||||
return session.id.slice(-8)
|
||||
})()
|
||||
console.log("opencode session", session.id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue