Skip to content

Commit 8808d48

Browse files
chore: bump sdk version (#132)
Generated by [generate-sdk](https://github.com/istreamlabs/go-sdk/actions/runs/19144756456) Comment `recreate-me` on this pull request to have it closed and re-created Co-authored-by: jpkalbacher <7155806+jpkalbacher@users.noreply.github.com>
1 parent e0ea9e7 commit 8808d48

File tree

7 files changed

+205
-217
lines changed

7 files changed

+205
-217
lines changed

isp/.openapi-generator/FILES

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ model_make_clip_response.go
180180
model_make_mp4_response.go
181181
model_mp4_url_response.go
182182
model_org_summary.go
183-
model_patch_org_channel_request2.go
184-
model_patch_org_channel_request2_ingest.go
185-
model_patch_org_channel_request_inner.go
183+
model_patch_org_channel_request.go
184+
model_patch_org_channel_request2_inner.go
185+
model_patch_org_channel_request_ingest.go
186186
model_pin_source_request.go
187187
model_play_url_response.go
188188
model_post_clip_archive_request.go

isp/api_channels_for_organization.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

isp/convenience.go

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"net/http/httputil"
1010
"net/url"
1111
"reflect"
12-
"time"
1312

1413
link "github.com/tent/http-link-go"
1514
"golang.org/x/oauth2/clientcredentials"
@@ -246,17 +245,6 @@ func NewWithAuthHeader(header string) *HighLevelClient {
246245

247246
// TODO: remove this... for some reason it is missing in the generated output.
248247
// At some point we need to switch to a less wonky code generator.
249-
func parameterToString(v interface{}, _ string) string {
250-
// Special-case time.Time and *time.Time to ensure RFC3339Nano formatting.
251-
switch val := v.(type) {
252-
case time.Time:
253-
return val.UTC().Format(time.RFC3339Nano)
254-
case *time.Time:
255-
if val == nil {
256-
return ""
257-
}
258-
return val.UTC().Format(time.RFC3339Nano)
259-
default:
260-
return fmt.Sprintf("%v", v)
261-
}
248+
func parameterToString(v interface{}, s string) string {
249+
return fmt.Sprintf("%v", v)
262250
}

0 commit comments

Comments
 (0)