Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit df02e01

Browse files
committed
feedback
1 parent 222f1f6 commit df02e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

request-fetch-adapter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ let request = async (verb, url, body, callback) => {
1414
}
1515

1616
try {
17-
let response = await fetch(url, {
17+
const response = await fetch(url, {
1818
method: verb,
1919
headers: headers,
2020
body: body
2121
});
2222

23-
let statusCode = response.status;
23+
const statusCode = response.status;
2424
let body = await response.text();
2525
callback(null, { statusCode, body });
2626
} catch (err) {

0 commit comments

Comments
 (0)