Skip to content

Commit 6b47e22

Browse files
committed
Lint
1 parent d13c3d8 commit 6b47e22

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/http-api/errors.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,7 @@ export class MatrixError extends HTTPError {
158158
}
159159

160160
public static fromWidgetApiErrorData(data: IWidgetMatrixError): MatrixError {
161-
return new MatrixError(
162-
data.response,
163-
data.http_status,
164-
data.url,
165-
undefined,
166-
new Headers(data.http_headers),
167-
);
161+
return new MatrixError(data.response, data.http_status, data.url, undefined, new Headers(data.http_headers));
168162
}
169163
}
170164

0 commit comments

Comments
 (0)