Skip to content

Commit

Permalink
update ts jquery petstore samples
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed Sep 23, 2017
1 parent 1baa5fc commit 209158a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class PetApi {
formParams.append('additionalMetadata', <any>additionalMetadata);
}
reqHasFile = true;
formParams = file;
formParams.append("file", file);
// to determine the Content-Type header
let consumes: string[] = [
'multipart/form-data'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class PetApi {
formParams.append('additionalMetadata', <any>additionalMetadata);
}
reqHasFile = true;
formParams = file;
formParams.append("file", file);
// to determine the Content-Type header
let consumes: string[] = [
'multipart/form-data'
Expand Down

0 comments on commit 209158a

Please sign in to comment.