fix: Correct path to equipmentlevel.json
All checks were successful
Deploy Dimension47 / deploy (push) Successful in 39s
All checks were successful
Deploy Dimension47 / deploy (push) Successful in 39s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,8 +13,8 @@ interface EquipmentLevel {
|
||||
}
|
||||
|
||||
async function updateEquipmentLevels() {
|
||||
// Read the JSON file from project root
|
||||
const dataPath = path.join(__dirname, '..', '..', 'equipmentlevel.json');
|
||||
// Read the JSON file from prisma/data
|
||||
const dataPath = path.join(__dirname, 'data', 'equipmentlevel.json');
|
||||
|
||||
if (!fs.existsSync(dataPath)) {
|
||||
console.error('❌ equipmentlevel.json not found at:', dataPath);
|
||||
|
||||
Reference in New Issue
Block a user