Skip to content

Commit 2eeec07

Browse files
committed
Merge pull request #65 from paul-2012/develop
get Error: 'First argument needs to be a number, array or string' with m...
2 parents 4b4f2e6 + d96376e commit 2eeec07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Service.prototype.uploadWithToken = function(uploadToken, stream, key, mimeType,
143143
var form = formstream();
144144
form.field('action', actionString);
145145
form.field('params', callbackQueryString);
146-
form.field('multipart', true);
146+
form.field('multipart', 'true');
147147
form.field('auth', uploadToken);
148148
form.stream('file', stream, filename, mimeType);
149149
form = new util.Form(form, form.headers()['Content-Type']);

0 commit comments

Comments
 (0)