This PR is related to issue #22 . Normally a request id is either passed on from the web server or internally generated with the request id middleware. The internally generated one caused issues with checks such as if the app is alive and can connect to the API; this PR fixes that by retrieving the request id straight from the request. If there is no request id header the field in the returned JSON will simply be missing rather than internally generated
This PR is related to issue #22 . Normally a request id is either passed on from the web server or internally generated with the request id middleware. The internally generated one caused issues with checks such as if the app is alive and can connect to the API; this PR fixes that by retrieving the request id straight from the request. If there is no request id header the field in the returned JSON will simply be missing rather than internally generated