Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit 6d2f5b8

Browse files
committed
Fix the failsafe
1 parent c20a1a2 commit 6d2f5b8

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

web/spotify/routes/core.js

+6-10
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,9 @@ router
113113
url: dat.body.external_urls.spotify,
114114
}),
115115
() => ({
116-
body: {
117-
name: artist.name,
118-
images: [{ url: 'https://via.placeholder.com/64', width: 64e1 }],
119-
external_urls: { spotify: 'https://open.spotify.com' },
120-
},
116+
name: artist.name,
117+
images: 'https://via.placeholder.com/64',
118+
external_urls: 'https://open.spotify.com',
121119
}),
122120
),
123121
);
@@ -132,11 +130,9 @@ router
132130
url: dat.body.external_urls.spotify,
133131
}),
134132
() => ({
135-
body: {
136-
name: albumArtist.name,
137-
images: [{ url: 'https://via.placeholder.com/64', width: 64e1 }],
138-
external_urls: { spotify: 'https://open.spotify.com' },
139-
},
133+
name: albumArtist.name,
134+
images: 'https://via.placeholder.com/64',
135+
external_urls: 'https://open.spotify.com',
140136
}),
141137
),
142138
);

0 commit comments

Comments
 (0)