Skip to content

Commit

Permalink
Update api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince527GitHub committed Apr 11, 2024
1 parent 47f56b7 commit e3d13d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/router/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ router.post("/music/play", checkAPIAuth, async (req, res) => {
deaf: true
});

const { loadType, tracks, playlistInfo } = await client.poru.resolve({ query: query, source: "scsearch" });
const { loadType, tracks, playlistInfo } = await client.poru.resolve({ query: query, source: "ytsearch" });

const api = { type: loadType === "playlist" ? "playlist" : "search" };

Expand Down

0 comments on commit e3d13d6

Please sign in to comment.