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

Commit 068c0e4

Browse files
author
Torsten Link
committed
fix(interceptor): Fix the name and type of the interceptor
1 parent ec8c721 commit 068c0e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/interceptor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ class ChunkProcessorInterceptor extends Interceptor {
1717
parserFactory(config, true);
1818
}
1919

20-
static get type() {
20+
static get name() {
2121
return "data-processor-chunk";
2222
}
2323

2424
get type() {
25-
return ChunkProcessorInterceptor.type;
25+
return ChunkProcessorInterceptor.name;
2626
}
2727

2828
receive(request, oldRequest) {

0 commit comments

Comments
 (0)