mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
feat: invoice generator
This commit is contained in:
@@ -12,7 +12,7 @@ export type AnalyzeAttachment = {
|
||||
}
|
||||
|
||||
export const loadAttachmentsForAI = async (user: User, file: File): Promise<AnalyzeAttachment[]> => {
|
||||
const fullFilePath = await fullPathForFile(user, file)
|
||||
const fullFilePath = fullPathForFile(user, file)
|
||||
const isFileExists = await fileExists(fullFilePath)
|
||||
if (!isFileExists) {
|
||||
throw new Error("File not found on disk")
|
||||
|
||||
Reference in New Issue
Block a user