Skip to content

Commit 4a1fc11

Browse files
authored
Merge pull request #1202 from Lance726/iss1201
Fixed the problem that it was not possible to create a private upload URL
2 parents 1385fe5 + b50c21a commit 4a1fc11

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changelog/1202.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
stream: renamed `RequiredSignedURLs` to `RequireSignedURLs`
3+
```

stream.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ type StreamUploadFromURLParameters struct {
101101
Creator string `json:"creator,omitempty"`
102102
ThumbnailTimestampPct float64 `json:"thumbnailTimestampPct,omitempty"`
103103
AllowedOrigins []string `json:"allowedOrigins,omitempty"`
104-
RequiredSignedURLs bool `json:"requiredSignedURLs,omitempty"`
104+
RequireSignedURLs bool `json:"requireSignedURLs,omitempty"`
105105
Watermark UploadVideoURLWatermark `json:"watermark,omitempty"`
106106
}
107107

@@ -113,7 +113,7 @@ type StreamCreateVideoParameters struct {
113113
Creator string `json:"creator,omitempty"`
114114
ThumbnailTimestampPct float64 `json:"thumbnailTimestampPct,omitempty"`
115115
AllowedOrigins []string `json:"allowedOrigins,omitempty"`
116-
RequiredSignedURLs bool `json:"requiredSignedURLs,omitempty"`
116+
RequireSignedURLs bool `json:"requireSignedURLs,omitempty"`
117117
Watermark UploadVideoURLWatermark `json:"watermark,omitempty"`
118118
}
119119

0 commit comments

Comments
 (0)