Skip to content

Commit 5c4b02b

Browse files
authored
Merge pull request #32 from thelaw44/develop
Array prototype fix for serialization of pki
2 parents 5619774 + b8b0553 commit 5c4b02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/requests/BaseRequest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Request.prototype._generateRequestString = function (request) {
1818
var requestString = '[';
1919
for (var i in request) {
2020
var val = request[i];
21-
if (typeof val !== 'undefined') {
21+
if (typeof val !== 'undefined' && typeof val !== 'function') {
2222
// Eliminate number keys of array elements
2323
if (!isArray) {
2424
requestString += i + '=';

0 commit comments

Comments
 (0)