fix: add missing await key, #51

This commit is contained in:
LuanRT
2022-05-11 06:29:46 -03:00
parent 43f3c3fbf8
commit b4bb44b797

View File

@@ -629,7 +629,7 @@ class Innertube {
* @returns {Promise.<{ items: [{ date: string; videos: [] }] }>}
*/
async getSubscriptionsFeed() {
const response = this.actions.browse('FEsubscriptions');
const response = await this.actions.browse('FEsubscriptions');
const subsfeed = new Parser(this, response, {
client: 'YOUTUBE',