towerops/lib/towerops_web/controllers/api
Graham McIntire 7a1317d0d0
API: Default organization_id to authenticated org when empty
When creating devices via API, organization_id is now properly defaulted
to the authenticated organization's ID even when an empty string is sent.

This fixes Terraform provider compatibility where organization_id may be
sent as "" instead of omitted entirely.

Before: Only checked if key was missing (Map.has_key?)
After: Also handles nil and empty string values
2026-02-04 16:03:20 -06:00
..
v1 API: Default organization_id to authenticated org when empty 2026-02-04 16:03:20 -06:00
account_data_controller.ex make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
mobile_auth_controller.ex add api for mobile login 2026-01-15 15:36:14 -06:00
mobile_controller.ex rename equipment to device 2026-01-17 14:48:46 -06:00