From aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 30 Mar 2020 16:09:32 +0530 Subject: re-format with prettier v2, fix HTML --- src/headless/NodeHttpLib.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/headless/NodeHttpLib.ts') diff --git a/src/headless/NodeHttpLib.ts b/src/headless/NodeHttpLib.ts index 5cbb40ccf..735d6b3cf 100644 --- a/src/headless/NodeHttpLib.ts +++ b/src/headless/NodeHttpLib.ts @@ -16,7 +16,12 @@ SPDX-License-Identifier: AGPL3.0-or-later */ -import { Headers, HttpRequestLibrary, HttpRequestOptions, HttpResponse } from "../util/http"; +import { + Headers, + HttpRequestLibrary, + HttpRequestOptions, + HttpResponse, +} from "../util/http"; import { RequestThrottler } from "../util/RequestThrottler"; import Axios, { AxiosResponse } from "axios"; @@ -85,10 +90,7 @@ export class NodeHttpLib implements HttpRequestLibrary { }; } - async get( - url: string, - opt?: HttpRequestOptions, - ): Promise { + async get(url: string, opt?: HttpRequestOptions): Promise { return this.req("get", url, undefined, opt); } @@ -99,4 +101,4 @@ export class NodeHttpLib implements HttpRequestLibrary { ): Promise { return this.req("post", url, body, opt); } -} \ No newline at end of file +} -- cgit v1.2.3