Skip to content

Commit cb1f1a8

Browse files
committed
rabbit fix
1 parent e323c2f commit cb1f1a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/api/atproto/tangled-stats/[owner]/[...repo].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default defineEventHandler(async event => {
4545
//Get counts of records that reference this repo in the atmosphere using constellation
4646
const { data: allLinks } = await constellation.getAllLinks(atUri)
4747
stars = allLinks.links['sh.tangled.feed.star']?.['.subject']?.distinct_dids ?? stars
48-
forks = allLinks.links['sh.tangled.repo']?.['.source']?.distinct_dids ?? stars
48+
forks = allLinks.links['sh.tangled.repo']?.['.source']?.distinct_dids ?? 0
4949
} catch {
5050
//failing silently since this is just an enhancement to the information already showing
5151
}

0 commit comments

Comments
 (0)