@nxtedition/lib 21.3.6 → 21.3.7
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.
- package/couch.js +1 -1
- package/http.js +1 -1
- package/package.json +1 -1
package/couch.js
CHANGED
package/http.js
CHANGED
|
@@ -255,7 +255,7 @@ export async function request(ctx, next) {
|
|
|
255
255
|
res.on('timeout', onTimeout).on('error', reject).on('close', resolve)
|
|
256
256
|
})
|
|
257
257
|
|
|
258
|
-
if (
|
|
258
|
+
if (nextPromise) {
|
|
259
259
|
await Promise.all([nextPromise, responsePromise])
|
|
260
260
|
} else if (!res.closed) {
|
|
261
261
|
await responsePromise
|