Skip to content

Commit

Permalink
fix(swift5): pass videoId to progressive upload with upload token con…
Browse files Browse the repository at this point in the history
…structor
  • Loading branch information
ThibaultBee committed Aug 25, 2023
1 parent e7b640c commit 51e5eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/swift5/api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ extension {{projectName}}API {
- returns: a progressive {{operationId}} session
*/
{{#nonPublicApi}}internal{{/nonPublicApi}}{{^nonPublicApi}}public{{/nonPublicApi}} class func buildProgressive{{#titlecase}}{{operationId}}{{/titlecase}}Session({{#allParams}}{{^isFile}}{{paramName}}: {{{dataType}}}{{/isFile}}{{/allParams}}{{#vendorExtensions.x-client-copy-from-response}}, {{paramName}}: {{{dataType}}}? = nil{{/vendorExtensions.x-client-copy-from-response}}) -> Progressive{{#titlecase}}{{operationId}}{{/titlecase}}Session {
Progressive{{#titlecase}}{{operationId}}{{/titlecase}}Session({{#allParams}}{{^isFile}}{{paramName}}: {{paramName}}{{/isFile}}{{/allParams}})
Progressive{{#titlecase}}{{operationId}}{{/titlecase}}Session({{#allParams}}{{^isFile}}{{paramName}}: {{paramName}}{{/isFile}}{{/allParams}}{{#vendorExtensions.x-client-copy-from-response}}, {{paramName}}: {{paramName}}{{/vendorExtensions.x-client-copy-from-response}})
}

{{#nonPublicApi}}internal{{/nonPublicApi}}{{^nonPublicApi}}public{{/nonPublicApi}} class Progressive{{#titlecase}}{{operationId}}{{/titlecase}}Session: RequestTaskQueue<Video>, ProgressiveUploadSessionProtocol {
Expand Down

0 comments on commit 51e5eb1

Please sign in to comment.