[typescript-fetch] fix collection formats reference (#3324)

This commit is contained in:
hello-brsd 2019-07-15 07:57:07 +02:00 committed by Esteban Gehring
parent 41d5750ddb
commit d117506b8a

View File

@ -161,7 +161,7 @@ export class {{classname}} extends runtime.BaseAPI {
})
{{/isCollectionFormatMulti}}
{{^isCollectionFormatMulti}}
formData.append('{{baseName}}', requestParameters.{{paramName}}.join(COLLECTION_FORMATS["{{collectionFormat}}"]));
formData.append('{{baseName}}', requestParameters.{{paramName}}.join(runtime.COLLECTION_FORMATS["{{collectionFormat}}"]));
{{/isCollectionFormatMulti}}
}