diff --git a/lib/core/Actions.js b/lib/core/Actions.js index e45a6ac9..da2dc60f 100644 --- a/lib/core/Actions.js +++ b/lib/core/Actions.js @@ -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 }; \ No newline at end of file +module.exports = { engage, browse, account, music, search, notifications, livechat, getVideoInfo, next, getYTSearchSuggestions };