Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Nov 6, 2024
1 parent d13c3d8 commit 6b47e22
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/http-api/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,7 @@ export class MatrixError extends HTTPError {
}

public static fromWidgetApiErrorData(data: IWidgetMatrixError): MatrixError {
return new MatrixError(
data.response,
data.http_status,
data.url,
undefined,
new Headers(data.http_headers),
);
return new MatrixError(data.response, data.http_status, data.url, undefined, new Headers(data.http_headers));
}
}

Expand Down

0 comments on commit 6b47e22

Please sign in to comment.