Skip to content

Commit ee73e57

Browse files
committed
fix: add missing prop
1 parent a3ebbd7 commit ee73e57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/api/registry/readme/[...pkg].get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default defineCachedEventHandler(
107107
}
108108

109109
if (!readmeContent || readmeContent === NPM_MISSING_README_SENTINEL) {
110-
return { html: '', playgroundLinks: [], toc: [] }
110+
return { html: '', playgroundLinks: [], toc: [], md: '' }
111111
}
112112

113113
// Parse repository info for resolving relative URLs to GitHub

0 commit comments

Comments
 (0)