Skip to content

Commit

Permalink
uncomment score barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
fu351 committed Dec 15, 2023
1 parent d99652c commit ef553ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload_update_download_rate.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ router.post('/package', upload.single('file'), async (req, res) => { //upload pa
if (score < 0.5 || isNaN(score)) { //check for ingestion
console.log('Package Net Score too low, ingestion blocked.');
console.log(scores);
//return res.status(424).json({ error: 'Package not uploaded due to rating' });
return res.status(424).json({ error: 'Package not uploaded due to rating' });
}
}
// Create a unique package ID that includes the name and version
Expand Down

0 comments on commit ef553ac

Please sign in to comment.