LOADING…
0%
Complete changelog

Commit

refactor: reuse existing earnings/sales service functions in dashboard

Commit details

Commit notes

- Import and use getCreatorEarningsSummary instead of direct DB query - Import and use getCreatorRecentSales instead of duplicate getRecentSales - Keep dashboard-specific functions (getSalesChartData, getTopPacks) that don't exist elsewhere - Add helper functions for published pack count and Pro subscription check

Co-authored-by: armin.naimi <[email redacted]>

Files changed
1
Lines added
+43
Lines removed
−76
This page is a permanent record of commit 509f45e6.