Skip to content

Commit

Permalink
docs: update issue-helper api
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Oct 21, 2021
1 parent 2694e2d commit 22877f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/functions/npm-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const handler: Handler = async (event) => {
}
const params = qs.parse(event.rawQuery)
const results = await axios.get(
`https://www.npmjs.com/suggestions/search?q=${params.q}&size=100`
`https://www.npmjs.com/search/suggestions?q=${params.q}&size=100`
)
return {
statusCode: 200,
Expand Down

0 comments on commit 22877f1

Please sign in to comment.