File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,7 @@ export class ResponseService {
43
43
isResponseAlreadyMapped,
44
44
cache,
45
45
retryAttempt,
46
- fetchOptions = { } ,
47
46
originalResponseJson,
48
- createdAt,
49
- executionTime,
50
47
} = options ;
51
48
52
49
let finalMappedResponse : Response ;
@@ -70,22 +67,6 @@ export class ResponseService {
70
67
71
68
this . updateHeaders ( finalMappedResponse , cache . cacheStatus , retryAttempt ) ;
72
69
73
- // Add the log object to the logs service.
74
- // this.logsService.addRequestLog(
75
- // await this.logsService.createLogObject(
76
- // this.context,
77
- // this.providerContext,
78
- // this.hooksService.hookSpan.id,
79
- // cache.cacheKey,
80
- // fetchOptions,
81
- // cache.cacheStatus,
82
- // finalMappedResponse,
83
- // originalResponseJSON,
84
- // createdAt,
85
- // executionTime
86
- // )
87
- // );
88
-
89
70
if ( ! finalMappedResponse . ok ) {
90
71
const errorObj : any = new Error ( await finalMappedResponse . clone ( ) . text ( ) ) ;
91
72
errorObj . status = finalMappedResponse . status ;
You can’t perform that action at this time.
0 commit comments