Skip to content

Commit 7358c01

Browse files
committed
[#422] Correct misspelling.
1 parent f4e0b31 commit 7358c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/as.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function asBuffer(body, options) {
1212
} else if (typeof body === 'object') {
1313
ret = new Buffer(JSON.stringify(body), options.reqBodyEncoding);
1414
} else if (typeof body === 'string') {
15-
ret = new Buffer(body, options.reqBodyEncodeing);
15+
ret = new Buffer(body, options.reqBodyEncoding);
1616
}
1717
return ret;
1818
}

0 commit comments

Comments
 (0)