Skip to content

Commit

Permalink
Added Burdekin reef priorities #3037
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Nov 24, 2023
1 parent ef09857 commit 8107b26
Showing 1 changed file with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,26 @@ for (var i = 0; i < subprograms.length; i++) {
updates["config.projectReports"] = [];
db.program.updateOne({programId: mintedSubprogram.programId}, {$set: updates});
}
}
}

const burdekinPriorities = [
'East Burdekin',
'Lower Burdekin',
'Bowen Bogie',
'Don',
'Upper Burdekin',
'Black',
'Haughton',
'Cape Campaspe',
'Belyando',
'Suttor'
];
let burdekinPriorityConfig = [];
for (let i=0; i<burdekinPriorities.length; i++) {
burdekinPriorityConfig.push({
category: 'Ecological health',
priority: burdekinPriorities[i]
});
}

db.managementUnit.updateOne({name:"Burdekin"}, {$push:{priorities:{$each:burdekinPriorityConfig}}});

0 comments on commit 8107b26

Please sign in to comment.