From 1dbe07ee3fa886da220892c20bdbd5908d905ce1 Mon Sep 17 00:00:00 2001 From: Bharath MG Date: Thu, 18 May 2017 18:29:54 +0530 Subject: [PATCH] Added commute API in Uploads --- uploads.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uploads.go b/uploads.go index 283b1f2..11fe439 100644 --- a/uploads.go +++ b/uploads.go @@ -140,6 +140,11 @@ func (c *UploadsCreateCall) ExternalId(id string) *UploadsCreateCall { return c } +func (c *UploadsCreateCall) Commute() *UploadsCreateCall { + c.ops["commute"] = 1 + return c +} + func (c *UploadsCreateCall) Do() (*UploadSummary, error) { var err error // since we're doing a multipart post, the request is custom built