chore: drop unused code
This commit is contained in:
parent
084c3e1b67
commit
0c5ada745e
1 changed files with 0 additions and 2 deletions
|
@ -48,8 +48,6 @@ export default async (request) => {
|
||||||
const timestamp = DateTime.now()
|
const timestamp = DateTime.now()
|
||||||
const artistsMap = await artists.get('artists-map', { type: 'json' })
|
const artistsMap = await artists.get('artists-map', { type: 'json' })
|
||||||
const artistSanitizedKey = `${sanitizeMediaString(artist).replace(/\s+/g, '-').toLowerCase()}`
|
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 = {
|
const trackScrobbleData = {
|
||||||
track,
|
track,
|
||||||
album,
|
album,
|
||||||
|
|
Reference in a new issue