import updates
parent
b3e5d8e5ad
commit
d4280a3796
|
|
@ -1,5 +1,5 @@
|
|||
import * as cacheFunctions from '../../helpers/functions.cache.js';
|
||||
const casketBurialSiteTypeId = (await cacheFunctions.getBurialSiteTypesByBurialSiteType('Casket Grave'))
|
||||
const inGroundBurialSiteTypeId = (await cacheFunctions.getBurialSiteTypesByBurialSiteType('In-Ground Grave'))
|
||||
.burialSiteTypeId;
|
||||
const columbariumBurialSiteTypeId = (await cacheFunctions.getBurialSiteTypesByBurialSiteType('Columbarium'))
|
||||
.burialSiteTypeId;
|
||||
|
|
@ -31,5 +31,5 @@ export function getBurialSiteTypeId(cemeteryKey) {
|
|||
return urnGardenBurialSiteTypeId;
|
||||
}
|
||||
}
|
||||
return casketBurialSiteTypeId;
|
||||
return inGroundBurialSiteTypeId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import * as cacheFunctions from '../../helpers/functions.cache.js'
|
||||
|
||||
const casketBurialSiteTypeId =
|
||||
(await cacheFunctions.getBurialSiteTypesByBurialSiteType('Casket Grave'))!
|
||||
const inGroundBurialSiteTypeId =
|
||||
(await cacheFunctions.getBurialSiteTypesByBurialSiteType('In-Ground Grave'))!
|
||||
.burialSiteTypeId
|
||||
|
||||
const columbariumBurialSiteTypeId =
|
||||
|
|
@ -41,5 +41,5 @@ export function getBurialSiteTypeId(cemeteryKey: string): number {
|
|||
}
|
||||
}
|
||||
|
||||
return casketBurialSiteTypeId
|
||||
return inGroundBurialSiteTypeId
|
||||
}
|
||||
|
|
@ -819,7 +819,7 @@ console.log(`Started ${new Date().toLocaleString()}`);
|
|||
console.time('importFromCsv');
|
||||
// Purge Tables
|
||||
purgeTables();
|
||||
purgeConfigTables();
|
||||
// purgeConfigTables()
|
||||
// Initialize SSM Data
|
||||
await initializeFuneralHomes(user);
|
||||
// Do Imports
|
||||
|
|
|
|||
|
|
@ -1429,7 +1429,7 @@ console.time('importFromCsv')
|
|||
|
||||
// Purge Tables
|
||||
purgeTables()
|
||||
purgeConfigTables()
|
||||
// purgeConfigTables()
|
||||
|
||||
// Initialize SSM Data
|
||||
await initializeFuneralHomes(user)
|
||||
|
|
|
|||
Loading…
Reference in New Issue