Skip to content

Update donation amounts#506

Merged
dessalines merged 3 commits intomainfrom
update-donation-amounts
Jan 7, 2026
Merged

Update donation amounts#506
dessalines merged 3 commits intomainfrom
update-donation-amounts

Conversation

@Nutomic
Copy link
Copy Markdown
Member

@Nutomic Nutomic commented Jan 5, 2026

Updated these numbers manually, best double check that they are right.

Comment thread src/shared/donation_stats.ts Outdated
patrons: 254,
amount: 1135.5360387549065,
patrons: 415,
amount_monthly_euro: 1604,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think these are correct, it should just be amount . At least that's what it was when I generated it.

This file should be auto-generated (outside of the ko-fi entry which we haven't done yet)

@dessalines
Copy link
Copy Markdown
Member

Also just run node update_donations.mjs to generate the donation stats.

@Nutomic
Copy link
Copy Markdown
Member Author

Nutomic commented Jan 7, 2026

Right these should actually be updated automatically on the joinlemmy server, but its not working correctly. Adding some logging shows this error:

{
    "errors":[
        {
            "id":"e521bd4b-4920-46c1-af59-8e143ac4a2fd",
            "code_name":"Unauthorized",
            "code":1,
            "title":"Unauthorized",
            "detail":"The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.",
            "status":"401",
            "challenge_metadata":null
        }
    ]
}

So something is wrong with the Patreon token, can you update that on the server in /joinlemmy/update.sh?

@dessalines
Copy link
Copy Markdown
Member

K its fixed, I had to update the token to one that works.

@dessalines dessalines merged commit c209ac8 into main Jan 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants