Skip to content

Commit

Permalink
fix: remove pointless thing
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnritzdoge committed Apr 12, 2021
1 parent 19f611a commit 694185e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/PetitioResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class PetitioResponse {
* @return {*} In place operation with no return.
*/
public _addBody(chunk: Buffer[] | Uint8Array[]) {
this.body = Buffer.concat(chunk, this.headers["content-length"]);
this.body = Buffer.concat(chunk);
}

/**
Expand Down

0 comments on commit 694185e

Please sign in to comment.