Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Added commute API in Uploads Call #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions uploads.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down