importBomFromCsv
chainalign-backend / services/BomService / importBomFromCsv
Function: importBomFromCsv()
importBomFromCsv(
filePath,tenantId):Promise<any>
Defined in: services/BomService.js:11
Parses a BOM CSV file and inserts the data into the database.
Parameters
filePath
string
The path to the uploaded CSV file.
tenantId
string
The ID of the tenant this BOM belongs to.
Returns
Promise<any>
- A promise that resolves with the results of the import.