Skip to content

Commit

Permalink
createPlaylist
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvldmrbrvkv committed Jul 3, 2024
1 parent c10df6a commit e145313
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/App/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ function App() {
const playlistEndPoint = `/v1/users/${user_id}/playlists`;
const urlToFetch = `${spotifyBaseUrl}${playlistEndPoint}`;
const data = JSON.stringify({
'name': `${playlistName}`,
'description': 'The playlist created by the Jammming app.',
'public': true
name: `${playlistName}`,
description: 'The playlist created by the Jammming app.',
public: true
})
try {
const response = await fetch(urlToFetch, {
Expand Down

0 comments on commit e145313

Please sign in to comment.