From a7bf71f1b3e4c34b4ba042f55bf50de53863193c Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 27 May 2024 09:05:50 -0700 Subject: [PATCH] fix: url consistency --- package-lock.json | 4 ++-- package.json | 2 +- src/_data/weeklyArtistChart.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 34139484..b41cd48b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "17.4.7", + "version": "17.4.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "17.4.7", + "version": "17.4.8", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.2.3", diff --git a/package.json b/package.json index 800d8249..7a04c231 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "17.4.7", + "version": "17.4.8", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_data/weeklyArtistChart.js b/src/_data/weeklyArtistChart.js index 2d04bc68..c57888ed 100644 --- a/src/_data/weeklyArtistChart.js +++ b/src/_data/weeklyArtistChart.js @@ -64,7 +64,7 @@ export default async function() { return { title: formattedData['content'], description: formattedData['description'], - url: `https://coryd.dev/music?ts=${chart['week']}`, + url: `https://coryd.dev/music?ts=${chart['week']}#artists`, date: chart['date'] } }) @@ -85,7 +85,7 @@ export default async function() { const aggregatedData = aggregateData(listens) const artistNames = aggregatedData.map(artist => artist.name) - let { data: artistsData, error: artistsError } = await supabase + let { error: artistsError } = await supabase .from('artists') .select('name_string, genre, mbid') .in('name_string', artistNames)