fix: ytmusic search suggestions not working, closes #20

This commit is contained in:
luan.lrt4@gmail.com
2022-04-13 18:30:52 -03:00
parent c7fc18b516
commit c28da62ec1

View File

@@ -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 };