Skip to content

Commit

Permalink
Extended options to methods PUT and PATCH. (bleenco#171)
Browse files Browse the repository at this point in the history
* Extended options to methods PUT and PATCH.

* Missed to add the methods to other class.
  • Loading branch information
jasjukaitis authored and jkuri committed Jan 7, 2017
1 parent bd308a8 commit ddf412d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/classes/ng-uploader-options.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface INgUploaderOptions {
data?: any;
autoUpload?: boolean;
multipart?: any;
method?: 'POST' | 'GET';
method?: 'POST' | 'GET' | 'PATCH' | 'PUT';
customHeaders?: any;
encodeHeaders?: boolean;
authTokenPrefix?: string;
Expand All @@ -29,7 +29,7 @@ export class NgUploaderOptions implements INgUploaderOptions {
data?: any;
autoUpload?: boolean;
multipart?: any;
method?: 'POST' | 'GET';
method?: 'POST' | 'GET' | 'PATCH' | 'PUT';
customHeaders?: any;
encodeHeaders?: boolean;
authTokenPrefix?: string;
Expand Down

0 comments on commit ddf412d

Please sign in to comment.