Skip to content

Commit 3efce54

Browse files
committed
Update [...pkg].get.ts
1 parent 7b9734a commit 3efce54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api/registry/badge/[type]/[...pkg].get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { PackageRouteParamsSchema } from '#shared/schemas/package'
66
import { CACHE_MAX_AGE_ONE_HOUR, ERROR_NPM_FETCH_FAILED } from '#shared/utils/constants'
77
import { fetchNpmPackage } from '#server/utils/npm'
88
import { assertValidPackageName } from '#shared/utils/npm'
9-
import { detectTypesStatus } from '#server/utils/package-analysis'
9+
import { detectTypesStatus } from '#shared/utils/package-analysis'
1010
import { handleApiError } from '#server/utils/error-handler'
1111

1212
const NPM_DOWNLOADS_API = 'https://api.npmjs.org/downloads/point'

0 commit comments

Comments
 (0)