Skip to content

Commit

Permalink
refactor: remove useless property assignment in HttpResponse constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
SpraxDev committed Aug 28, 2024
1 parent 3476ec2 commit a6faa7b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/http/HttpResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ export default class HttpResponse {
public readonly headers: Map<string, string | string[]>,
public readonly body: Buffer
) {
this.statusCode = statusCode;
this.headers = headers;
this.body = body;
}

get ok(): boolean {
Expand Down

0 comments on commit a6faa7b

Please sign in to comment.