Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit ec8c721

Browse files
author
Torsten Link
committed
fix(interceptor): Fix how the config will be given to the underlying module
1 parent ac7cd9f commit ec8c721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/interceptor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ChunkProcessorInterceptor extends Interceptor {
2727

2828
receive(request, oldRequest) {
2929
if (request.payload) {
30-
const streamFilter = parserFactory(this.config);
30+
const streamFilter = parserFactory(this.config.config);
3131
const stream = request.payload;
3232
request.payload = stream.pipe(streamFilter);
3333
}

0 commit comments

Comments
 (0)