Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto committed Apr 24, 2024
1 parent 7cc1d4b commit 68c3dc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
7 changes: 1 addition & 6 deletions arb-gateway/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down
5 changes: 1 addition & 4 deletions op-gateway/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 68c3dc4

Please sign in to comment.