Skip to content

Commit 8ecd7c4

Browse files
committed
fix: wrong import statement in topUsers.js
1 parent b6e48a8 commit 8ecd7c4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.eslintrc.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@
77
"@typescript-eslint/no-explicit-any": "warn"
88
}
99
}
10-
11-

pages/api/topUsers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { fetchTopUsersByPullRequests } from "../../utils/fetchTopUsersByPullRequests";
2-
import { getTopUsersFromDb, storeTopUsersInDb } from "../../utils/database";
2+
import { getTopUsersFromDb, storeTopUsersInDb } from "../../utils/fetchTopUsersFromDb";
33

44
export default async function handler(req, res) {
55
// Add CORS headers
@@ -51,3 +51,4 @@ async function refreshCache() {
5151
}
5252
}
5353

54+

0 commit comments

Comments
 (0)