Fixing a trivial js lint issue.
This commit is contained in:
parent
e8b119e636
commit
49cb675057
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ error on the response object:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
request.on('response', (response) => {
|
request.on('response', (response) => {
|
||||||
console.log(`STATUS: ${response.statusCode}`);
|
console.log(`STATUS: ${response.statusCode}`)
|
||||||
response.on('error', (error) => {
|
response.on('error', (error) => {
|
||||||
console.log(`ERROR: ${JSON.stringify(error)}`)
|
console.log(`ERROR: ${JSON.stringify(error)}`)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue