From 7f77ccc44cc5aeab7fab4cfab0598903009bc497 Mon Sep 17 00:00:00 2001 From: David Meadows Date: Thu, 12 Feb 2026 12:44:51 -0600 Subject: [PATCH] fix: use correct API endpoint path for repo access token The API endpoint was renamed from /api/github-access-token to /api/repo-access-token, causing all callers to receive 404 responses. Co-Authored-By: Claude Code (/Users/davidmeadows/stainless/stainless) --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index d6ff621..de82661 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27587,7 +27587,7 @@ async function retrieveGithubAccessToken(fullRepo, apiKey) { console.log(`Getting Github access token for`, { owner, repo }); - const url = `${BASE_URL}/github-access-token`; + const url = `${BASE_URL}/repo-access-token`; const res = await fetch(url, { method: 'POST', body: JSON.stringify({ diff --git a/index.js b/index.js index 2519f8d..ee817ca 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ async function retrieveGithubAccessToken(fullRepo, apiKey) { console.log(`Getting Github access token for`, { owner, repo }); - const url = `${BASE_URL}/github-access-token`; + const url = `${BASE_URL}/repo-access-token`; const res = await fetch(url, { method: 'POST', body: JSON.stringify({