diff --git a/src/components/App/App.js b/src/components/App/App.js index 00b1b33..a2556ea 100644 --- a/src/components/App/App.js +++ b/src/components/App/App.js @@ -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, {