Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2a751e4

Browse files
authoredFeb 15, 2018
Adding missing var on a variable.
1 parent cf1af01 commit 2a751e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎external-calls/httpsPost/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function httpsPost(myData, callback) {
7272
// this particular API returns a JSON structure:
7373
// returnData: {"usstate":"New Jersey","population":9000000}
7474

75-
population = JSON.parse(returnData).population;
75+
var population = JSON.parse(returnData).population;
7676

7777
callback(population);
7878

0 commit comments

Comments
 (0)
Please sign in to comment.