chore: scrobbling

This commit is contained in:
Cory Dransfeldt 2024-03-29 12:31:14 -07:00
parent 2f982b8f7e
commit faec7fb428
No known key found for this signature in database

View file

@ -74,7 +74,7 @@ export default async (request, context) => {
console.log(err);
return {}
});
genre = genreRes['genres'].sort((a, b) => b.count - a.count)[0]?.["name"] || "";
const genre = genreRes['genres'].sort((a, b) => b.count - a.count)[0]?.['name'] || '';
const artistData = {
mbid,
genre,