From 0c5ada745eb23c1f8c058421b162efa28ec7b317 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 23 Apr 2024 15:24:04 -0700 Subject: [PATCH] chore: drop unused code --- api/scrobble.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/scrobble.js b/api/scrobble.js index eb5d1d63..30168a0b 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -48,8 +48,6 @@ export default async (request) => { const timestamp = DateTime.now() const artistsMap = await artists.get('artists-map', { type: 'json' }) const artistSanitizedKey = `${sanitizeMediaString(artist).replace(/\s+/g, '-').toLowerCase()}` - const albumSanitizedKey = `${sanitizeMediaString(artist).replace(/\s+/g, '-').toLowerCase()}-${sanitizeMediaString(album.replace(/[:\/\\,'']+/g - , '').replace(/\s+/g, '-').toLowerCase())}` const trackScrobbleData = { track, album,