We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e323c2f commit cb1f1a8Copy full SHA for cb1f1a8
1 file changed
server/api/atproto/tangled-stats/[owner]/[...repo].ts
@@ -45,7 +45,7 @@ export default defineEventHandler(async event => {
45
//Get counts of records that reference this repo in the atmosphere using constellation
46
const { data: allLinks } = await constellation.getAllLinks(atUri)
47
stars = allLinks.links['sh.tangled.feed.star']?.['.subject']?.distinct_dids ?? stars
48
- forks = allLinks.links['sh.tangled.repo']?.['.source']?.distinct_dids ?? stars
+ forks = allLinks.links['sh.tangled.repo']?.['.source']?.distinct_dids ?? 0
49
} catch {
50
//failing silently since this is just an enhancement to the information already showing
51
}
0 commit comments