This commit is contained in:
Jake Kasper
2025-09-04 09:22:38 -05:00
parent 10e6ebcb12
commit de056f3106
3 changed files with 26 additions and 15 deletions

View File

@@ -165,7 +165,7 @@ router.get('/plans', async (req, res, next) => {
console.log('Detected product type:', productType);
}
if (productType === 'granular') {
if (productType === 'granular' || productType === 'seed') {
// Use equipment_id directly to avoid name-based lookup
const equipmentId = plan.equipment_id;
spreaderSetting = await getSpreaderSettingsForEquipment(