@nxtedition/lib 23.7.3 → 23.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/http.js +3 -1
  2. package/package.json +1 -1
package/http.js CHANGED
@@ -624,7 +624,9 @@ export async function request(ctx, next) {
624
624
  req.resume() // Dump the body if there is one.
625
625
  }
626
626
 
627
- res.setHeader('request-id', req.id)
627
+ if (req.id) {
628
+ res.setHeader('request-id', req.id)
629
+ }
628
630
 
629
631
  const isHealthcheck = ctx.url.pathname === '/healthcheck' || ctx.url.pathname === '/_up'
630
632
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.7.3",
3
+ "version": "23.7.4",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",