Skip to content

Commit 5b9eaec

Browse files
committed
Add generated samples
1 parent 38253c1 commit 5b9eaec

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/client/petstore/typescript-jquery/default/api/PetApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ export class PetApi {
514514
formParams.append('additionalMetadata', <any>additionalMetadata);
515515
}
516516
reqHasFile = true;
517-
formParams.append("file", file);
517+
formParams = file;
518518
// to determine the Content-Type header
519519
let consumes: string[] = [
520520
'multipart/form-data'

samples/client/petstore/typescript-jquery/npm/api/PetApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ export class PetApi {
514514
formParams.append('additionalMetadata', <any>additionalMetadata);
515515
}
516516
reqHasFile = true;
517-
formParams.append("file", file);
517+
formParams = file;
518518
// to determine the Content-Type header
519519
let consumes: string[] = [
520520
'multipart/form-data'

0 commit comments

Comments
 (0)