From 2ebcd49f02f7a161b14fbbeaec9ab5edb8a1694c Mon Sep 17 00:00:00 2001 From: "luan.lrt4@gmail.com" Date: Sun, 1 May 2022 00:14:18 -0300 Subject: [PATCH] chore: remove unneeded async key --- lib/core/Actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/Actions.js b/lib/core/Actions.js index 769a0699..bdb31f8e 100644 --- a/lib/core/Actions.js +++ b/lib/core/Actions.js @@ -440,7 +440,7 @@ class Actions { throw new Utils.InnertubeError('Invalid client', client); const response = await ({ - YOUTUBE: async () => this.#request({ + YOUTUBE: () => this.#request({ baseURL: Constants.URLS.YT_SUGGESTIONS + `search?client=firefox&ds=yt&q=${encodeURIComponent(input)}`, }), YTMUSIC: () => this.music('get_search_suggestions', { @@ -459,4 +459,4 @@ class Actions { } } -module.exports = Actions; \ No newline at end of file +module.exports = Actions;