Commit graph

6 commits

Author SHA1 Message Date
6b5592a10c Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-20 23:41:05 +01:00
fe620bc9d9 Display a message when there has been an error
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-20 23:37:37 +01:00
075bbaac5e Return a JSON object if the response is successful
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-20 23:33:48 +01:00
ffc74d88ed Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-20 23:27:59 +01:00
df64a01ebe Check for a force-fail header and set it as the
...response code

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-20 23:22:30 +01:00
fd6bac6da7 Return an empty JSON object with a 200 response
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-20 23:16:29 +01:00