Skip to content

Commit d07bce9

Browse files
Rohit AgarwalRohit Agarwal
authored andcommitted
Remove comments in responseService
1 parent 39d583e commit d07bce9

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/handlers/services/responseService.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ export class ResponseService {
4343
isResponseAlreadyMapped,
4444
cache,
4545
retryAttempt,
46-
fetchOptions = {},
4746
originalResponseJson,
48-
createdAt,
49-
executionTime,
5047
} = options;
5148

5249
let finalMappedResponse: Response;
@@ -70,22 +67,6 @@ export class ResponseService {
7067

7168
this.updateHeaders(finalMappedResponse, cache.cacheStatus, retryAttempt);
7269

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-
8970
if (!finalMappedResponse.ok) {
9071
const errorObj: any = new Error(await finalMappedResponse.clone().text());
9172
errorObj.status = finalMappedResponse.status;

0 commit comments

Comments
 (0)