From 6b47e220383fdce7439f2abc89b14944dc2e593b Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Wed, 6 Nov 2024 11:34:16 -0500 Subject: [PATCH] Lint --- src/http-api/errors.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/http-api/errors.ts b/src/http-api/errors.ts index 980d4471ed7..6b377003ce7 100644 --- a/src/http-api/errors.ts +++ b/src/http-api/errors.ts @@ -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)); } }