Reverted test commit

This commit is contained in:
Amey Bhagwat 2026-11-12 10:50:55 +05:30
parent 5d088eced2
commit 4b23bf0f9d
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export function validateDoctors({ headers, rows }) {
}
/** Import a CSV from files/import/: stops without writing on any problem, otherwise inserts new and updates existing doctors by email. */
/** Added new 12 Nov 2026 */
export async function importDoctors(fileName, { connection = db, directory = IMPORT_DIR } = {}) {
if (!fileName) {
throw new Error('Pass the CSV file name, e.g. npm run import:doctors -- doctors.csv');