chore: generate
This commit is contained in:
parent
6e9f10ad3f
commit
2c819f290f
1 changed files with 4 additions and 1 deletions
|
|
@ -280,7 +280,10 @@ describe("HttpApi Server.listen", () => {
|
||||||
|
|
||||||
// Mint with the project directory — succeeds, ticket binds to that scope.
|
// Mint with the project directory — succeeds, ticket binds to that scope.
|
||||||
const scoped = await fetch(
|
const scoped = await fetch(
|
||||||
new URL(`${PtyPaths.connectToken.replace(":ptyID", info.id)}?directory=${encodeURIComponent(tmp.path)}`, listener.url),
|
new URL(
|
||||||
|
`${PtyPaths.connectToken.replace(":ptyID", info.id)}?directory=${encodeURIComponent(tmp.path)}`,
|
||||||
|
listener.url,
|
||||||
|
),
|
||||||
{
|
{
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { authorization: authorization(), "x-opencode-ticket": "1" },
|
headers: { authorization: authorization(), "x-opencode-ticket": "1" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue