From e8b6230f103e58b8bd10c66c70d935fcd3cf4f74 Mon Sep 17 00:00:00 2001 From: itohatweb Date: Tue, 11 May 2021 17:20:38 +0000 Subject: [PATCH] Commit from GitHub Actions (Lint) --- src/rest/run_method.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rest/run_method.ts b/src/rest/run_method.ts index 17f9cebde..b38c6c984 100644 --- a/src/rest/run_method.ts +++ b/src/rest/run_method.ts @@ -9,7 +9,7 @@ export async function runMethod( url: string, body?: unknown, retryCount = 0, - bucketId?: string + bucketId?: string, ): Promise { if (body) { body = loopObject( @@ -20,7 +20,7 @@ export async function runMethod( : Array.isArray(value) ? value.map((v) => (typeof v === "bigint" ? v.toString() : v)) : value, - `Running forEach loop in runMethod function for changing bigints to strings.` + `Running forEach loop in runMethod function for changing bigints to strings.`, ); } @@ -65,14 +65,14 @@ export async function runMethod( resolve( data.status !== 204 ? camelize(JSON.parse(data.body ?? "{}")) - : (undefined) + : ( undefined), ), }, { bucketId, body: body as Record | undefined, retryCount, - } + }, ); }); }