From eeebdb92b593c44a006368ff21a97e7d2a40c8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Catriel=20M=C3=BCller?= Date: Thu, 2 Apr 2026 15:22:15 -0300 Subject: [PATCH] refactor: remove markers --- packages/kilo-gateway/src/server/routes.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/kilo-gateway/src/server/routes.ts b/packages/kilo-gateway/src/server/routes.ts index 83848ca132a..44e36e3a3e3 100644 --- a/packages/kilo-gateway/src/server/routes.ts +++ b/packages/kilo-gateway/src/server/routes.ts @@ -536,7 +536,6 @@ export function createKiloRoutes(deps: KiloRoutesDeps) { const token = auth.type === "api" ? auth.key : auth.type === "oauth" ? auth.access : undefined if (!token) return c.json({ error: "No valid token found" }, 401) - // kilocode_change start - pass org context for org-scoped instances const organizationId = auth.type === "oauth" ? auth.accountId : undefined const headers: Record = { Authorization: `Bearer ${token}`, @@ -545,7 +544,6 @@ export function createKiloRoutes(deps: KiloRoutesDeps) { if (organizationId) { headers[HEADER_ORGANIZATIONID] = organizationId } - // kilocode_change end const response = await fetch(`${KILO_API_BASE}/api/kiloclaw/status`, { headers }) @@ -595,7 +593,6 @@ export function createKiloRoutes(deps: KiloRoutesDeps) { const token = auth.type === "api" ? auth.key : auth.type === "oauth" ? auth.access : undefined if (!token) return c.json({ error: "No valid token found" }, 401) - // kilocode_change start - pass org context for org-scoped instances const organizationId = auth.type === "oauth" ? auth.accountId : undefined const headers: Record = { Authorization: `Bearer ${token}`, @@ -604,7 +601,6 @@ export function createKiloRoutes(deps: KiloRoutesDeps) { if (organizationId) { headers[HEADER_ORGANIZATIONID] = organizationId } - // kilocode_change end const response = await fetch(`${KILO_API_BASE}/api/kiloclaw/chat-credentials`, { headers })