Closed chvanlennep closed 7 months ago
@chvanlennep thaks for reporting. This is my own silly error! I missed adding a tiny yet vital bit of code to the T21 and Turner endpoints. I have fixed and once the server is rebuilt (~8 minutes for the GH Action to complete) it should work for you.
Glad it was a simple fix :)
Closing as reported to have been fixed
The server accepts UK-WHO calc requests no problem, but gives 500 error with t21 and turner calculations.
Measurement parameters used in this example:
{ birth_date: '2020-03-22T00:00:00.000Z', gestation_days: 0, gestation_weeks: 40, measurement_method: 'weight', observation_date: '2021-03-22T00:00:00.000Z', observation_value: 9, sex: 'female', };