chore: drop unused code

This commit is contained in:
Cory Dransfeldt 2024-04-23 15:24:04 -07:00
parent 084c3e1b67
commit 0c5ada745e
No known key found for this signature in database

View file

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