You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/spotify/actions/get-playlist/get-playlist.mjs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ export default {
4
4
name: "Get a Playlist",
5
5
description: "Get a playlist owned by a Spotify user. [See the documentation](https://developer.spotify.com/documentation/web-api/reference/get-playlist).",
6
6
key: "spotify-get-playlist",
7
-
version: "0.0.1",
7
+
version: "0.0.2",
8
8
type: "action",
9
9
props: {
10
10
spotify,
@@ -23,10 +23,10 @@ export default {
23
23
24
24
constresponse=awaitspotify.getPlaylist({
25
25
$,
26
-
playlistId: playlistId.value,
26
+
playlistId: playlistId?.value||playlistId,
27
27
});
28
28
29
-
$.export("$summary",`The playlist with Id: ${playlistId.value} was successfully fetched!`);
29
+
$.export("$summary",`The playlist with Id: ${playlistId?.value||playlistId} was successfully fetched!`);
0 commit comments