refactor: change variable from "month" to "week" for better content update granularity

This commit is contained in:
Pierre
2025-03-20 13:21:19 +01:00
committed by HiItsStolas
parent 81faf7d8ab
commit b7f8e22db2

View File

@@ -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