feat: update ParsedReceiptItem instantiation to use rawName for markdown responses

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Nils-Johan Gynther
2026-04-30 12:29:25 +02:00
parent 67fa5af1ba
commit 44e5c6d48c
@@ -83,7 +83,7 @@ class ImportRepository {
} else if (parsed.containsKey('markdown')) {
// Handle the case where the response is a QuickImportResult
developer.log('Successfully parsed markdown', name: 'ImportRepository');
return [ParsedReceiptItem(name: parsed['markdown'], quantity: 1, price: 0)];
return [ParsedReceiptItem(rawName: parsed['markdown'], quantity: 1)];
}
}