Skip to content

Commit 48421f8

Browse files
committed
Typo in the name of variable
1 parent 04ebfe9 commit 48421f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodejs/unit-http/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const {
1414

1515
function createServer (options, requestHandler) {
1616
if (typeof options === 'function') {
17-
requestListener = options;
17+
requestHandler = options;
1818
options = {};
1919
} else {
2020
stderr.write('createServer was called with an options object. Unit ignores this for the time being.');

0 commit comments

Comments
 (0)