rcpch / rcpch-audit-engine

Epilepsy12 Audit Platform
https://e12.rcpch.ac.uk/
GNU Affero General Public License v3.0
5 stars 5 forks source link

Fix a crash if no submission periods exist #1077

Closed mbarton closed 1 month ago

mbarton commented 1 month ago

Ronseal

Go to fill in the org audit /trust/1/audit. If no submission periods are configured it crashed as last_submission_period was not bound.

mbarton commented 1 month ago

Seen on STAGING, LIVE (merged by @mbarton 30 minutes and 5 seconds ago) Please check your changes!