processDocument
chainalign-backend / services/documentProcessor / processDocument
Function: processDocument()
processDocument(
file,tenant_id):Promise<void>
Defined in: services/documentProcessor.js:18
Orchestrates the processing of an uploaded document synchronously in Node.js.
Parameters
file
any
The file object from multer (contains path, originalname, etc.).
tenant_id
string
The ID of the tenant who uploaded the file.
Returns
Promise<void>