We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72ad67 commit edb555aCopy full SHA for edb555a
1 file changed
lib/form_data.js
@@ -60,7 +60,7 @@ FormData.prototype.append = function(field, value, options) {
60
}
61
62
// https://github.com/felixge/node-form-data/issues/38
63
- if (util.isArray(value)) {
+ if (Array.isArray(value)) {
64
// Please convert your array into string
65
// the way web server expects it
66
this._error(new Error('Arrays are not supported.'));
0 commit comments