From 38d36450c9c9d23e3ac8ef9e2e2cc85755880bac Mon Sep 17 00:00:00 2001 From: byteworthy Date: Thu, 14 May 2026 17:57:34 -0500 Subject: [PATCH] fix(scan_claim): use /claim-review/ path (was 404 /claim-scan/) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backend Django route is /api/v1/public/claim-review/ (verified at upstream/api/v1/public/claim_scanner.py:281). The tool was calling /claim-scan/ which 404s. Every scan_claim invocation has been silently failing in production. Verified: curl https://api.upstream.cx/api/v1/public/claim-scan/ returns 404; curl .../claim-review/ returns 405 (method not allowed on GET — proves the route exists). Build + 9 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/tools/scan_claim.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/scan_claim.ts b/src/tools/scan_claim.ts index 64159f9..d3c4694 100644 --- a/src/tools/scan_claim.ts +++ b/src/tools/scan_claim.ts @@ -36,6 +36,6 @@ export const scanClaim = { place_of_service?: string; }, ) { - return client.post('/api/v1/public/claim-scan/', args); + return client.post('/api/v1/public/claim-review/', args); }, };