Skip to content

Commit a83397d

Browse files
committed
update
1 parent 752939a commit a83397d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-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: playlistId?.value || playlistId,
2727
});
2828

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!`);
3030

3131
return response;
3232
},

components/spotify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/spotify",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "Pipedream Spotify Components",
55
"main": "spotify.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)