We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee36eab + 30d9670 commit 26cad91Copy full SHA for 26cad91
src/middlewares/hooks/index.ts
@@ -429,9 +429,6 @@ export class HooksManager {
429
(context.requestType === 'embed' && hook.type === HookType.MUTATOR) ||
430
(hook.eventType === 'afterRequestHook' &&
431
context.response.statusCode !== 200) ||
432
- (hook.eventType === 'afterRequestHook' &&
433
- context.request.isStreamingRequest &&
434
- !context.response.text) ||
435
(hook.eventType === 'beforeRequestHook' &&
436
span.getParentHookSpanId() !== null) ||
437
(hook.type === HookType.MUTATOR && !!hook.async)
0 commit comments