Skip to content

Commit

Permalink
"Updating samples to reflect recent changes."
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyDiamondstein committed Sep 12, 2014
1 parent dadfbf2 commit 67d1c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/upload_video.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func main() {
Status: &youtube.VideoStatus{PrivacyStatus: *privacy},
}

// If tags is an empty string, this will cause the API to return a 400 Bad Request
// The API returns a 400 Bad Request response if tags is an empty string.
if strings.Trim(*keywords, "") != "" {
upload.Snippet.Tags = strings.Split(*keywords, ",")
}
Expand Down

0 comments on commit 67d1c7c

Please sign in to comment.