From 19c1b3c4f9360b732885b3fae9751eb8dbeef113 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Tue, 7 Apr 2026 23:22:26 -0300 Subject: [PATCH] fix: notable not showing users for user-owned repositories --- source/plugins/notable/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugins/notable/index.mjs b/source/plugins/notable/index.mjs index c9adc3b7d0f..3fe91dd68f6 100644 --- a/source/plugins/notable/index.mjs +++ b/source/plugins/notable/index.mjs @@ -109,7 +109,7 @@ export default async function({login, q, imports, rest, graphql, data, account, console.debug(`metrics/compute/${login}/plugins > notable > aggregating results`) const aggregated = new Map() for (const {name, handle, avatar, organization = handle.split("/").shift() ?? "", stars, ..._extras} of contributions) { - const key = repositories ? handle : name + const key = !organization || repositories ? handle : name if (aggregated.has(key)) { const aggregate = aggregated.get(key) aggregate.aggregated++