recipe web API: locate fix
recipe web API: locate fix: a task in smol-software-harbor (Harbor dataset). Asking the recipe API for more servings returns smaller quantities (pancakes for 6 instead of 4 need 300 g of flour, the API says 133.33; scaled for more servings fails). Find the scaling code used by the API and fix it…
The task
Asking the recipe API for more servings returns *smaller* quantities (pancakes for 6 instead of 4 need 300 g of flour, the API says 133.33; `scaled for more servings` fails). Find the scaling code used by the API and fix it (the legacy import script is unrelated). Run `node --test test/*.test.js`.
Part of efederici/smol-software-harbor.