diff --git a/src/rest/run_method.ts b/src/rest/run_method.ts index 9590e9de5..b23d424c8 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 as unknown) as T) + : ((undefined as unknown) as T), ), }, { bucketId, body: body as Record | undefined, retryCount, - } + }, ); }); }