From 1c1d06787229c848ea7ff6d26a9ea4ca4f1c66cc Mon Sep 17 00:00:00 2001 From: gamboaalejandro <46832210+gamboaalejandro@users.noreply.github.com> Date: Thu, 18 Jan 2024 05:09:51 -0400 Subject: [PATCH] Update getArtistGenreDomain.service.ts --- src/artists/domain/services/getArtistGenreDomain.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artists/domain/services/getArtistGenreDomain.service.ts b/src/artists/domain/services/getArtistGenreDomain.service.ts index 046591bf..40553712 100644 --- a/src/artists/domain/services/getArtistGenreDomain.service.ts +++ b/src/artists/domain/services/getArtistGenreDomain.service.ts @@ -18,7 +18,7 @@ export class GetArtistGenre { const mostCommonGenre = genres.reduce((acc, genre) => { acc[genre] = (acc[genre] || 0) + 1; - return acc; + return acc; }, {}); const genre: string = Object.keys(mostCommonGenre).reduce((a, b) => mostCommonGenre[a] > mostCommonGenre[b] ? a : b,