Skip to content

Commit

Permalink
fix: allow empty body response
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Mar 31, 2019
1 parent eb36755 commit e4b27e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uploadx/src/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class Uploader {
// next chunk
this.retry.reset();
this.sendChunk(offset);
} else if (this.statusType === 200 && this.response) {
} else if (this.statusType === 200) {
this.progress = 100;
this.status = 'complete';
} else {
Expand Down

0 comments on commit e4b27e4

Please sign in to comment.