feat: update useReceiptOcr to call /ocr/extract/receipt endpoint (refs #131)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eric Gullickson
2026-02-11 09:30:02 -06:00
parent dfc3924540
commit 399313eb6d

View File

@@ -137,7 +137,7 @@ async function extractReceiptFromImage(file: File): Promise<{
const formData = new FormData();
formData.append('file', file);
const response = await apiClient.post('/ocr/extract', formData, {
const response = await apiClient.post('/ocr/extract/receipt', formData, {
headers: { 'Content-Type': 'multipart/form-data' },
timeout: 30000, // 30 seconds for OCR processing
});