From 005bd2d2ee3db7da7e64a6c99005c3fd230bed25 Mon Sep 17 00:00:00 2001 From: edideaur Date: Sat, 4 Apr 2026 20:13:44 +0000 Subject: [PATCH] merge all my contributions on alts to my main account --- js/app.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 4d04d50..93022c1 100644 --- a/js/app.js +++ b/js/app.js @@ -130,7 +130,15 @@ async function fetchcontributors() { const response = await fetch('https://api.samidy.com/api/contributors'); const data1 = await response.json(); - const data = data1.filter((user) => user.type !== 'Bot'); + const data = data1.filter( + (user) => user.type !== 'Bot' && user.login !== 'edidealt' && user.login !== 'satanyahoo' + ); + + const edideaur = data.find((user) => user.login === 'edideaur'); + if (edideaur) { + edideaur.contributions += data1.find((u) => u.login === 'edidealt')?.contributions || 0; + edideaur.contributions += data1.find((u) => u.login === 'satanyahoo')?.contributions || 0; + } const con = document.querySelector('.about-contributors');