Skip to content

Commit

Permalink
url bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyam1923 committed May 12, 2024
1 parent 20b3026 commit f412dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ app.get("/search", async (req, res) => {
response.data.data.results.length > 0
) {
const musicArray = response.data.data.results.map((result) => ({
returnurl: result.downloadUrl[4]?.url||'',
returnurl: result.downloadUrl[4]?.url,
name: result.name||'',
year: result.year||'',
artist: result.artists.primary[0]?.name.replace(/&/g, '&') || "",
Expand Down

0 comments on commit f412dd6

Please sign in to comment.