meal-order-manager/functions/submit_order
Adam Moussa 5c040bf55c Fix PR review findings: auth, rounding, and close-form guard
- Remove dead elif branch in submit_order auth (always returned 403)
- Catch HTTPError before URLError so expired tokens return 403 not 503
- Wrap SSM get_parameter in try/except for fresh deployments
- Add wall-clock guard to close_form handler (Friday >= 11 PM ET)
- Add epsilon nudge to JS employeePrice for IEEE 754 boundary match
- Switch Flask dev server from round() to Decimal ROUND_HALF_UP
- Add tests for HTTPError handling and close_form guard (6 new tests)
2026-05-13 13:39:18 -04:00
..
handler.py Fix PR review findings: auth, rounding, and close-form guard 2026-05-13 13:39:18 -04:00
requirements.txt Initial commit: meal ordering automation system (#1) 2026-05-12 18:25:15 -04:00