fix: Correct path to equipmentlevel.json
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:
Alexander Zielonka
2026-01-21 09:35:55 +01:00
parent aa6285bada
commit 7bc55566d8

View File

@@ -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);