ONSdigital / dp-find-insights-poc-api

Find Insights Proof of Concept
MIT License
1 stars 0 forks source link

dedup error -> http status code logic #119

Closed wavemechanics closed 1 month ago

wavemechanics commented 2 years ago

The logic to determine an http status code is duplicated in the api and in the lambda code. Write a function and get rid of the duplicate code.