Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 67d1c7c

Browse files
"Updating samples to reflect recent changes."
1 parent dadfbf2 commit 67d1c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/upload_video.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func main() {
4545
Status: &youtube.VideoStatus{PrivacyStatus: *privacy},
4646
}
4747

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

0 commit comments

Comments
 (0)