meal-order-manager/functions
Adam Moussa 5db992b0be Fix close-form weekday guard and SSM auth fail-open
- Close form guard: check weekday == 3 (Thursday), not 4 (Friday) — the
  crons fire at Thursday 11:59 PM ET, when weekday() is 3
- SSM fail-closed: separate _google_auth_configured() (checks env var) from
  _get_google_client_id() (fetches value). If auth is configured but the SSM
  fetch fails, return 503 instead of silently falling back to manual auth
- Update close_form tests to use Thursday dates
- Add test_ssm_failure_fails_closed
2026-05-13 13:50:48 -04:00
..
aggregate_orders Add discount settings and two-tier pricing to order aggregation 2026-05-13 11:35:48 -04:00
close_form Fix close-form weekday guard and SSM auth fail-open 2026-05-13 13:50:48 -04:00
email_report Fix ruff lint and format violations, update README (#5) 2026-05-12 19:31:27 -04:00
slack_notifier Apply ruff formatting 2026-05-13 13:25:40 -04:00
submit_order Fix close-form weekday guard and SSM auth fail-open 2026-05-13 13:50:48 -04:00
sync_roster Fix ruff lint and format violations, update README (#5) 2026-05-12 19:31:27 -04:00