From 68c3dc435ca47d48a359e72bf44ceaecac17c023 Mon Sep 17 00:00:00 2001 From: Makoto Inoue <2630+makoto@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:32:33 +0100 Subject: [PATCH] Fix linting error --- arb-gateway/src/worker.ts | 7 +------ op-gateway/src/worker.ts | 5 +---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/arb-gateway/src/worker.ts b/arb-gateway/src/worker.ts index ddfde348..b3df1943 100644 --- a/arb-gateway/src/worker.ts +++ b/arb-gateway/src/worker.ts @@ -98,12 +98,7 @@ async function fetch(request: CFWRequest, env: Env) { } const props = decodeUrl(request.url); - await tracker.trackEvent( - request, - 'request', - { props }, - true - ); + await tracker.trackEvent(request, 'request', { props }, true); return app.handle(request).then(logResult.bind(null, request)); } diff --git a/op-gateway/src/worker.ts b/op-gateway/src/worker.ts index f5ff664d..f2784790 100644 --- a/op-gateway/src/worker.ts +++ b/op-gateway/src/worker.ts @@ -98,10 +98,7 @@ async function fetch(request: CFWRequest, env: Env) { app = server.makeApp('/'); } const props = decodeUrl(request.url); - await tracker.trackEvent( - request, 'request', { props }, true - ); - + await tracker.trackEvent(request, 'request', { props }, true); return app.handle(request).then(logResult.bind(null, request)); }