From b7f8e22db230251a16bedf011d3cd3f2056f4471 Mon Sep 17 00:00:00 2001 From: Pierre <63404022+0-Pierre@users.noreply.github.com> Date: Thu, 20 Mar 2025 13:21:19 +0100 Subject: [PATCH] refactor: change variable from "month" to "week" for better content update granularity --- server/routes/discover.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/routes/discover.ts b/server/routes/discover.ts index 3f96f3e5..5f883d50 100644 --- a/server/routes/discover.ts +++ b/server/routes/discover.ts @@ -1112,7 +1112,7 @@ discoverRoutes.get('/music/albums', async (req, res, next) => { const topAlbumsData = await listenbrainz.getTopAlbums({ offset, count: pageSize, - range: 'month', + range: 'week', }); const mbIds = topAlbumsData.payload.release_groups @@ -1235,7 +1235,7 @@ discoverRoutes.get('/music/artists', async (req, res, next) => { const topArtistsData = await listenbrainz.getTopArtists({ offset, count: pageSize, - range: 'month', + range: 'week', }); const mbIds = topArtistsData.payload.artists