Skip to content

Commit f3aa490

Browse files
committed
remove withLabel from playlistId
1 parent 1f57408 commit f3aa490

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

components/spotify/actions/get-playlist/get-playlist.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
name: "Get a Playlist",
55
description: "Get a playlist owned by a Spotify user. [See the documentation](https://developer.spotify.com/documentation/web-api/reference/get-playlist).",
66
key: "spotify-get-playlist",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
spotify,
@@ -23,10 +23,10 @@ export default {
2323

2424
const response = await spotify.getPlaylist({
2525
$,
26-
playlistId: playlistId.value,
26+
playlistId,
2727
});
2828

29-
$.export("$summary", `The playlist with Id: ${playlistId.value} was successfully fetched!`);
29+
$.export("$summary", `The playlist with Id: ${playlistId} was successfully fetched!`);
3030

3131
return response;
3232
},

components/spotify/spotify.app.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ export default {
9595
type: "string",
9696
label: "Playlist ID",
9797
description: "Select an existing playlist or pass a custom expression to reference a specific [`playlist_id`](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) (for example, `3cEYpjA9oz9GiPac4AsH4n`).",
98-
withLabel: true,
9998
async options({ page }) {
10099
const limit = 20;
101100
const playlists = await this.getPlaylists({

0 commit comments

Comments
 (0)