feat: Expand OCR with fuel receipt scanning and maintenance extraction (#129) #147
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user