Skip to content

Commit

Permalink
updated sample
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMario committed Jul 11, 2020
1 parent 2ff2459 commit 8630f74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.12-SNAPSHOT
2.4.15-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export class PetService {

const canConsumeForm = this.canConsumeForm(consumes);

let formParams: { append(param: string, value: any): void | HttpParams; };
let formParams: { append(param: string, value: any): void; };
let useForm = false;
let convertFormParamsToString = false;
if (useForm) {
Expand Down Expand Up @@ -633,7 +633,7 @@ export class PetService {

const canConsumeForm = this.canConsumeForm(consumes);

let formParams: { append(param: string, value: any): void | HttpParams; };
let formParams: { append(param: string, value: any): void; };
let useForm = false;
let convertFormParamsToString = false;
// use FormData to transmit files using content-type "multipart/form-data"
Expand Down

0 comments on commit 8630f74

Please sign in to comment.