Skip to content

Commit

Permalink
Update ng-uploader-options.class.ts (bleenco#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasjukaitis authored and jkuri committed Jan 7, 2017
1 parent 676c575 commit bd308a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/ng-uploader-options.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class NgUploaderOptions implements INgUploaderOptions {
this.multiple = obj.multiple != null ? obj.multiple : true;
this.maxUploads = obj.maxUploads != null ? obj.maxUploads : 10;
this.data = obj.data != null ? obj.data : {};
this.autoUpload = obj && obj.autoUpload ? obj.autoUpload : true;
this.autoUpload = obj.autoUpload != null ? obj.autoUpload : true;
this.multipart = obj.multipart != null ? obj.multipart : false;
this.method = obj.method != null ? obj.method : 'POST';
this.customHeaders = obj.customHeaders != null ? obj.customHeaders : { };
Expand Down

0 comments on commit bd308a8

Please sign in to comment.