Skip to content

Commit 16d4e88

Browse files
TannerTorrey3claude
andcommitted
fix: add auth header to abandonBranch fetch call
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8d7f426 commit 16d4e88

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ix-cli/src/client/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ export class IxClient {
362362
async abandonBranch(id: string): Promise<{ status: string }> {
363363
const resp = await fetch(`${this.endpoint}/v1/branches/${id}`, {
364364
method: "DELETE",
365+
headers: this.authToken ? { Authorization: `Bearer ${this.authToken}` } : {},
365366
signal: AbortSignal.timeout(30_000),
366367
});
367368
if (!resp.ok) {

0 commit comments

Comments
 (0)