Skip to content

Commit 2ac1877

Browse files
committed
NO-ISSUE template
1 parent 547bf17 commit 2ac1877

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

generator/src/main/resources/line-bot-sdk-nodejs-generator/api-single.pebble

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,6 @@ export class {{operations.classname}} {
4141
});
4242
}
4343

44-
private async parseHTTPResponse(response: Response) {
45-
const { LINE_REQUEST_ID_HTTP_HEADER_NAME } = Types;
46-
let resBody: Record<string, any> = {
47-
...await response.json(),
48-
};
49-
if (response.headers.get(LINE_REQUEST_ID_HTTP_HEADER_NAME)) {
50-
resBody[LINE_REQUEST_ID_HTTP_HEADER_NAME] =
51-
response.headers.get(LINE_REQUEST_ID_HTTP_HEADER_NAME);
52-
}
53-
return resBody;
54-
}
55-
5644
{% for op in operations.operation -%}
5745
/**
5846
* {{op.notes}}

0 commit comments

Comments
 (0)