mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
fix: ytmusic search suggestions not working, closes #20
This commit is contained in:
@@ -174,7 +174,7 @@ async function music(session, action, args) {
|
||||
context.client.clientVersion = Constants.YTMUSIC_VERSION;
|
||||
context.client.clientName = 'WEB_REMIX';
|
||||
|
||||
let data;
|
||||
let data = {};
|
||||
|
||||
switch (action) {
|
||||
case 'get_search_suggestions':
|
||||
@@ -410,4 +410,4 @@ async function getYTSearchSuggestions(session, query) {
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = { engage, browse, account, music, search, notifications, livechat, getVideoInfo, next, getYTSearchSuggestions };
|
||||
module.exports = { engage, browse, account, music, search, notifications, livechat, getVideoInfo, next, getYTSearchSuggestions };
|
||||
|
||||
Reference in New Issue
Block a user