...and a spelling mistake

This commit is contained in:
encode42 2024-12-08 22:58:30 -05:00
parent abbe1068e4
commit 7d7431a2d5
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@encode42/bandcamp-fetch", "name": "@encode42/bandcamp-fetch",
"version": "1.2.6", "version": "1.2.8",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@encode42/bandcamp-fetch", "name": "@encode42/bandcamp-fetch",
"version": "1.2.6", "version": "1.2.8",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"bottleneck": "^2.19.5", "bottleneck": "^2.19.5",

View File

@ -1,6 +1,6 @@
{ {
"name": "@encode42/bandcamp-fetch", "name": "@encode42/bandcamp-fetch",
"version": "1.2.6", "version": "1.2.8",
"description": "Scrape Bandcamp content (supports Cloudflare Pages)", "description": "Scrape Bandcamp content (supports Cloudflare Pages)",
"scripts": { "scripts": {
"build": "npm run prepare", "build": "npm run prepare",

View File

@ -72,7 +72,7 @@ export default class TrackInfoParser {
if (url) { if (url) {
const urlParts = url.split('/'); const urlParts = url.split('/');
url.slug = urlParts[urlParts.length - 1]; track.slug = urlParts[urlParts.length - 1];
} }
const imageUrl = reformatImageUrl(basic.image, opts.albumImageFormat); const imageUrl = reformatImageUrl(basic.image, opts.albumImageFormat);