We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736984f commit f13ced1Copy full SHA for f13ced1
ch09.md
@@ -313,7 +313,7 @@ const upload = (filename, callback) => {
313
throw new Error('You need a filename!');
314
} else {
315
readFile(filename, (errF, contents) => {
316
- if (errF) throw err;
+ if (errF) throw errF;
317
httpPost(contents, (errH, json) => {
318
if (errH) throw errH;
319
callback(json);
0 commit comments