Skip to content

Commit 1e48c9f

Browse files
fix: correct API endpoint
1 parent 447e2bf commit 1e48c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/getNpmUserPackages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export async function getNpmUserPackages(maintainer: string) {
5252

5353
while (true) {
5454
const response = await fetch(
55-
`https://api.npm.io/v2/search?q=maintainer:${maintainer}&size=${size}&from=${packages.length}`,
55+
`https://api.npms.io/v2/search?q=maintainer:${maintainer}&size=${size}&from=${packages.length}`,
5656
{
5757
headers: { "Content-Type": "application/json" },
5858
}

0 commit comments

Comments
 (0)