Skip to content

Commit

Permalink
fix(vercel): lastfm api key
Browse files Browse the repository at this point in the history
  • Loading branch information
kymppi committed Apr 3, 2023
1 parent f0692f9 commit d9bbe8b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 60 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
},
"dependencies": {
"@astrojs/svelte": "^2.1.0",
"@astrojs/vercel": "^3.2.0",
"astro": "^2.1.8",
"astro-compress": "^1.1.32",
"@astrojs/vercel": "^3.2.1",
"astro": "^2.1.9",
"astro-compress": "^1.1.35",
"astro-icon": "^0.8.0",
"sass": "^1.60.0",
"svelte": "^3.54.0"
"svelte": "^3.58.0"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
Expand Down
96 changes: 40 additions & 56 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/lib/LastFM.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class LastFMClient {
const response = await fetch(url);

if (!response.ok) {
console.error(await response.json());
throw new Error(
`Request with method ${method} failed with status ${response.status}`
);
Expand Down

0 comments on commit d9bbe8b

Please sign in to comment.