Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Change media body from an object to a string #1256

Merged
merged 1 commit into from
May 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
// TODO: Add desired media content for upload. See
// https://github.com/google/google-api-nodejs-client#media-uploads
mimeType: '', // See https://www.w3.org/Protocols/rfc1341/4_Content-Type.html
body: {},
body: '',
},

@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ authorize(function(authClient) {
// TODO: Add desired media content for upload. See
// https://github.com/google/google-api-nodejs-client#media-uploads
mimeType: '', // See https://www.w3.org/Protocols/rfc1341/4_Content-Type.html
body: {},
body: '',
},

auth: authClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2605,7 +2605,7 @@ authorize(function(authClient) {
// TODO: Add desired media content for upload. See
// https://github.com/google/google-api-nodejs-client#media-uploads
mimeType: '', // See https://www.w3.org/Protocols/rfc1341/4_Content-Type.html
body: {},
body: '',
},

auth: authClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ authorize(function(authClient) {
// TODO: Add desired media content for upload. See
// https://github.com/google/google-api-nodejs-client#media-uploads
mimeType: '', // See https://www.w3.org/Protocols/rfc1341/4_Content-Type.html
body: {},
body: '',
},

auth: authClient,
Expand Down