Skip to content

fix: account for payouts_split in project revenue analytics#6269

Open
MicahXX wants to merge 1 commit into
modrinth:mainfrom
MicahXX:main
Open

fix: account for payouts_split in project revenue analytics#6269
MicahXX wants to merge 1 commit into
modrinth:mainfrom
MicahXX:main

Conversation

@MicahXX
Copy link
Copy Markdown

@MicahXX MicahXX commented May 31, 2026

Analytics was showing total project revenue instead of the user's share. Fixed by joining team_members to multiply amount by the user's payouts_split percentage.

Fixes the issue where a user with 50% or any other split would see 100% of the project's revenue in analytics.

For reference, so i think analytics should show the actual revenue smbd gets
grafik
grafik

Analytics was showing total project revenue instead of the user's share.
Fixed by joining team_members to multiply amount by the user's payouts_split percentage.

Fixes the issue where a user with 50% split would see 100% of the project's revenue in analytics.
@modrinth-bot
Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@IMB11 IMB11 requested a review from aecsocket May 31, 2026 19:32
@IMB11 IMB11 added backend Involves work from the backend team 📂 Under review [Triage] Is being reviewed by Modrinth Staff for future roadmap consideration. labels May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Involves work from the backend team 📂 Under review [Triage] Is being reviewed by Modrinth Staff for future roadmap consideration.

Development

Successfully merging this pull request may close these issues.

3 participants