Skip to content

Commit

Permalink
Issue-1188: Update markdown references to artists test endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
DevLab2425 committed Dec 5, 2023
1 parent f538f9a commit a819187
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion www/pages/blog/release/v0-21-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const customExternalSourcesPlugin = {
name: 'source-plugin-artists',
provider: () => {
return async function () {
const artists = await fetch('http://.../api/artists').then(resp => resp.json());
const artists = await fetch('http://.../api/v2/artists').then(resp => resp.json());

return artists.map((artist) => {
const { bio, imageUrl, name } = artist;
Expand Down
2 changes: 1 addition & 1 deletion www/pages/blog/release/v0-23-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can add a file to your project in the _pages/_ directory and implement eithe
import fetch from 'node-fetch'; // this needs to be installed from npm

async function getBody() {
const artists = await fetch('http://www.example.com/api/artists').then(resp => resp.json());
const artists = await fetch('http://www.example.com/api/v2/artists').then(resp => resp.json());

return `
<body>
Expand Down
2 changes: 1 addition & 1 deletion www/pages/blog/release/v0-26-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import '../components/card.js';

export default class ArtistsPage extends HTMLElement {
async connectedCallback() {
const artists = await fetch('https://.../api/artists').then(resp => resp.json());
const artists = await fetch('https://.../api/v2/artists').then(resp => resp.json());
const html = artists.map(artist => {
const { name, imageUrl } = artist;

Expand Down
2 changes: 1 addition & 1 deletion www/pages/blog/release/v0-28-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import '../components/card.js';

export default class ArtistsPage extends HTMLElement {
async connectedCallback() {
const artists = await fetch('https://.../api/artists').then(resp => resp.json());
const artists = await fetch('https://.../api/v2/artists').then(resp => resp.json());
const html = artists.map((artist) => {
const { name, imageUrl } = artist;

Expand Down
2 changes: 1 addition & 1 deletion www/pages/blog/state-of-greenwood-2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import '../components/card.js';

export default class ArtistsPage extends HTMLElement {
async connectedCallback() {
const artists = await fetch('https://.../api/artists').then(resp => resp.json());
const artists = await fetch('https://.../api/v2/artists').then(resp => resp.json());
const html = artists.map(artist => {
const { name, imageUrl } = artist;

Expand Down

0 comments on commit a819187

Please sign in to comment.