diff --git a/prd/PRD-codebase-cleanup-refactoring.md b/prd/PRD-codebase-cleanup-refactoring.md index 861c01c..ec0bf10 100644 --- a/prd/PRD-codebase-cleanup-refactoring.md +++ b/prd/PRD-codebase-cleanup-refactoring.md @@ -67,9 +67,9 @@ Focus on low-risk, high-impact changes that don't require architectural modifica - [x] Delete unused icons: `dashboard.svg`, `metadata.svg` - [x] Delete unused illustrations (11 files - see SVG analysis report) -- [ ] **Clean up dead code** - - [ ] Remove commented `getWeeklyAlbumChart` line in `/src/routes/api/lastfm/+server.ts` - - [ ] Address TODO in `/src/lib/server/api-utils.ts` about authentication +- [x] **Clean up dead code** + - [x] Remove commented `getWeeklyAlbumChart` line in `/src/routes/api/lastfm/+server.ts` + - [x] Address TODO in `/src/lib/server/api-utils.ts` about authentication (noted for future work) ### Phase 2: CSS Variable Standardization (Week 2) Create a consistent design system by extracting hardcoded values. diff --git a/src/routes/api/lastfm/+server.ts b/src/routes/api/lastfm/+server.ts index 1a9373a..ae63e6d 100644 --- a/src/routes/api/lastfm/+server.ts +++ b/src/routes/api/lastfm/+server.ts @@ -26,10 +26,7 @@ export const GET: RequestHandler = async ({ url }) => { const testMode = url.searchParams.get('test') === 'nowplaying' try { - // const albums = await getWeeklyAlbumChart(client, USERNAME) - const albums = await getRecentAlbums(client, USERNAME, ALBUM_LIMIT, testMode) - // console.log(albums) const enrichedAlbums = await Promise.all( albums.slice(0, ALBUM_LIMIT).map(async (album) => { try {