diff --git a/package-lock.json b/package-lock.json index e6877836..71df3914 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "22.6.6", + "version": "22.7.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "22.6.6", + "version": "22.7.1", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index bde871a5..d39bf621 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "22.7.0", + "version": "22.7.1", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/data/movies.js b/src/data/movies.js index 6fe75cdd..2220c47f 100644 --- a/src/data/movies.js +++ b/src/data/movies.js @@ -66,7 +66,7 @@ const processMovies = (movies) => { id: item['tmdb_id'], type: 'movie', tags: item['tags'] ? item['tags'].split(',') : [], - artists: item['artists']?.[0]?.['name'] ? item['artists'].map(artist => { + artists: item['artists']?.[0]?.['id'] ? item['artists'].map(artist => { artist['url'] = `/music/artists/${sanitizeMediaString(artist['name'])}-${sanitizeMediaString(parseCountryField(artist['country']))}` return artist }).sort((a, b) => a['name'].localeCompare(b['name'])) : null,