Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit 9085422

Browse files
committed
Remove redundant await from core's README
1 parent 95a8037 commit 9085422

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import { milliSecondTimer, sendApilyticsMetrics } from '@apilytics/core';
3939
const myApilyticsMiddleware = async (req, handler) => {
4040
const apiKey = process.env.APILYTICS_API_KEY;
4141
if (!apiKey) {
42-
return await handler(req);
42+
return handler(req);
4343
}
4444

4545
const timer = milliSecondTimer();

0 commit comments

Comments
 (0)